mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-29 21:17:17 +00:00
9 lines
250 B
Ruby
9 lines
250 B
Ruby
module LineItemBasedAdjustmentHandling
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
has_many :adjustments_for_which_source, class_name: "Spree::Adjustment", as: :source,
|
|
dependent: :destroy
|
|
end
|
|
end
|