mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Update EnterpriseFeeSummary report scopes
This commit is contained in:
@@ -52,7 +52,9 @@ module OrderManagement
|
||||
|
||||
def for_orders
|
||||
chain_to_scope do
|
||||
where(adjustable_type: ["Spree::Order", "Spree::Shipment", "Spree::LineItem"])
|
||||
where(
|
||||
adjustable_type: ["Spree::Order", "Spree::Shipment", "Spree::LineItem", "Spree::Payment"]
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user