mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
Add shipment_adjustments association to Order
This commit is contained in:
@@ -47,6 +47,7 @@ module Spree
|
||||
dependent: :destroy
|
||||
|
||||
has_many :line_item_adjustments, through: :line_items, source: :adjustments
|
||||
has_many :shipment_adjustments, through: :shipments, source: :adjustments
|
||||
has_many :all_adjustments, class_name: 'Spree::Adjustment', dependent: :destroy
|
||||
|
||||
has_many :shipments, dependent: :destroy do
|
||||
|
||||
Reference in New Issue
Block a user