Update totals when processing a return

This commit is contained in:
Matt-Yorkley
2021-03-07 15:25:23 +00:00
parent 4c64aaed77
commit 90712647b1

View File

@@ -95,6 +95,7 @@ module Spree
credit.save
order.return if inventory_units.all?(&:returned?)
order.update!
end
def allow_receive?