mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-07 22:46:06 +00:00
Don't tax fees before payment state
This commit is contained in:
@@ -21,7 +21,7 @@ class OrderFeesHandler
|
||||
create_order_fees!
|
||||
end
|
||||
|
||||
tax_enterprise_fees!
|
||||
tax_enterprise_fees! unless order.before_payment_state?
|
||||
order.update_order!
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user