Sha256: d13beb3caf7ad84473cfedfa5f827bc9f9fc87d50660a01ed137c7217a4a556d

Contents?: true

Size: 421 Bytes

Versions: 35

Compression:

Stored size: 421 Bytes

Contents

# only exsist for mockuping up the discount form
# remove after Discount and DiscountSections model is created

class TempDiscount < Event
  attr_accessor :code, :active, :promotion_type, :minimum_purchase, :maximum_purchase, :show_ids, :limit, :unlimited_capacity

  has_many :discount_sections
end

class DiscountSection < Section
  attr_accessor :temp_discount_id, :section, :section_id

  attr_accessible :section
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 app/models/temp_discount.rb
artfully_ose-1.3.0.pre3 app/models/temp_discount.rb
artfully_ose-1.3.0.pre2 app/models/temp_discount.rb
artfully_ose-1.3.0.pre1 app/models/temp_discount.rb
artfully_ose-1.2.0 app/models/temp_discount.rb
artfully_ose-1.2.0.beta.1 app/models/temp_discount.rb
artfully_ose-1.2.0.alpha.2 app/models/temp_discount.rb
artfully_ose-1.2.0.alpha.1 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.27 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.26 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.24 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.23 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.21 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.20 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.19 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.18 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.17 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.16 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.15 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.12 app/models/temp_discount.rb