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.2.0.pre.11 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.10 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.9 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.8 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.7 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.6 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.5 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.4 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.3 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.2 app/models/temp_discount.rb
artfully_ose-1.2.0.pre.1 app/models/temp_discount.rb
artfully_ose-1.2.0.pre app/models/temp_discount.rb
artfully_ose-1.1.0 app/models/temp_discount.rb
artfully_ose-1.1.0.rc2 app/models/temp_discount.rb
artfully_ose-1.1.0.rc1 app/models/temp_discount.rb