From 2b6abdd9665a6f2123a24998065839f143bc8628 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Thu, 25 Jan 2024 11:37:10 +0530 Subject: [PATCH] fix: Item Tax template is not working for e-commerce (#67) --- webshop/templates/includes/order/order_taxes.html | 2 +- webshop/webshop/shopping_cart/cart.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/webshop/templates/includes/order/order_taxes.html b/webshop/templates/includes/order/order_taxes.html index 0060ab39cc..d7b9620fa0 100644 --- a/webshop/templates/includes/order/order_taxes.html +++ b/webshop/templates/includes/order/order_taxes.html @@ -19,7 +19,7 @@ {{ d.description }}
- {{ doc.get_formatted("net_total") }} + {{ d.get_formatted("base_tax_amount") }}
diff --git a/webshop/webshop/shopping_cart/cart.py b/webshop/webshop/shopping_cart/cart.py index 109d1a40f3..a59c28e964 100644 --- a/webshop/webshop/shopping_cart/cart.py +++ b/webshop/webshop/shopping_cart/cart.py @@ -533,6 +533,7 @@ def set_taxes(quotation, cart_settings): # # # append taxes quotation.append_taxes_from_master() + quotation.append_taxes_from_item_tax_template() def get_party(user=None):