mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Retrieve line item sales tax from included_tax rather than tax amount
This commit is contained in:
@@ -55,7 +55,7 @@ module OpenFoodNetwork
|
||||
end
|
||||
|
||||
def tax_included_in(line_item)
|
||||
line_item.adjustments.included_tax.sum &:amount
|
||||
line_item.adjustments.sum &:included_tax
|
||||
end
|
||||
|
||||
def shipment_inc_vat
|
||||
|
||||
Reference in New Issue
Block a user