mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-03 06:59:14 +00:00
Update totals when processing a return
This commit is contained in:
@@ -95,6 +95,7 @@ module Spree
|
||||
credit.save
|
||||
|
||||
order.return if inventory_units.all?(&:returned?)
|
||||
order.update!
|
||||
end
|
||||
|
||||
def allow_receive?
|
||||
|
||||
Reference in New Issue
Block a user