mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-06 22:36:07 +00:00
Update comment
See: https://github.com/openfoodfoundation/openfoodnetwork/blob/master/spec/system/admin/adjustments_spec.rb
This commit is contained in:
committed by
Gaetan Craig-Riou
parent
be78c2ac41
commit
ffad3f249b
@@ -105,7 +105,7 @@ module Spree
|
||||
if default_zone_or_zone_match?(item.order)
|
||||
calculator.compute(item)
|
||||
else
|
||||
# In this case, it's a refund.
|
||||
# In this case, it's a refund (for instance offering a manual discount via an adjustment)
|
||||
calculator.compute(item) * - 1
|
||||
end
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user