Update Order#shipping_tax

This commit is contained in:
Matt-Yorkley
2021-02-19 18:30:01 +00:00
parent ead85e71de
commit 2af0afafe9
2 changed files with 10 additions and 7 deletions

View File

@@ -646,7 +646,7 @@ module Spree
end
def shipping_tax
shipment_adjustments.reload.shipping.sum(:included_tax)
shipment_adjustments.reload.tax.sum(:amount)
end
def enterprise_fee_tax