Sha256: ec51042719632b9e14841789da79c6f320eb828e6502f8e79050da0d9f16e23d

Contents?: true

Size: 115 Bytes

Versions: 24

Compression:

Stored size: 115 Bytes

Contents

Spree::Adjustment.class_eval do
  scope :promotion, lambda { where('label LIKE ?', "#{I18n.t(:promotion)}%") }
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
spree_promo-1.1.6 app/models/spree/adjustment_decorator.rb
spree_promo-1.1.5 app/models/spree/adjustment_decorator.rb
spree_promo-1.0.7 app/models/spree/adjustment_decorator.rb
spree_promo-1.1.4 app/models/spree/adjustment_decorator.rb
spree_promo-1.2.0 app/models/spree/adjustment_decorator.rb
spree_promo-1.2.0.rc2 app/models/spree/adjustment_decorator.rb
spree_promo-1.2.0.rc1 app/models/spree/adjustment_decorator.rb
spree_promo-1.1.3 app/models/spree/adjustment_decorator.rb
spree_promo-1.0.6 app/models/spree/adjustment_decorator.rb
spree_promo-1.1.2 app/models/spree/adjustment_decorator.rb
spree_promo-1.1.2.rc1 app/models/spree/adjustment_decorator.rb
spree_promo-1.1.1 app/models/spree/adjustment_decorator.rb
spree_promo-1.1.0 app/models/spree/adjustment_decorator.rb
spree_promo-1.0.4 app/models/spree/adjustment_decorator.rb
spree_promo-1.1.0.rc2 app/models/spree/adjustment_decorator.rb
spree_promo-1.1.0.rc1 app/models/spree/adjustment_decorator.rb
spree_promo-1.0.3 app/models/spree/adjustment_decorator.rb
spree_promo-1.0.2 app/models/spree/adjustment_decorator.rb
spree_promo-1.0.1 app/models/spree/adjustment_decorator.rb
spree_promo-1.0.0 app/models/spree/adjustment_decorator.rb