From 564e8b74dc2cf004861d965c64706438ebbb1197 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 1 Aug 2017 16:35:22 +0530 Subject: [PATCH] Minor fixing in setting cumulative tax amount --- erpnext/public/js/controllers/taxes_and_totals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/controllers/taxes_and_totals.js b/erpnext/public/js/controllers/taxes_and_totals.js index e13927f90b..c653640de6 100644 --- a/erpnext/public/js/controllers/taxes_and_totals.js +++ b/erpnext/public/js/controllers/taxes_and_totals.js @@ -270,7 +270,7 @@ erpnext.taxes_and_totals = erpnext.payments.extend({ me.round_off_totals(tax); // in tax.total, accumulate grand total for each item - tax.total = me.set_cumulative_total(i, tax); + me.set_cumulative_total(i, tax); me.set_in_company_currency(tax, ["total", "tax_amount", "tax_amount_after_discount_amount"]);