Sha256: 08f83a4dc9eb14724957026f7d0272273e492b7dab058fbf5a01e51f67633752

Contents?: true

Size: 215 Bytes

Versions: 6

Compression:

Stored size: 215 Bytes

Contents

# An sales campaign
#
# Carries an affiliate fee
#
class SalesCampaign < Campaign
  money_columns :sales_fee
  belongs_to :sales_person

  ##
  # The sum cost of this campaign
  #
  def cost
    sales_fee
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
e9_crm-0.1.8 app/models/sales_campaign.rb
e9_crm-0.1.7 app/models/sales_campaign.rb
e9_crm-0.1.6 app/models/sales_campaign.rb
e9_crm-0.1.5 app/models/sales_campaign.rb
e9_crm-0.1.4 app/models/sales_campaign.rb
e9_crm-0.1.1 app/models/sales_campaign.rb