From e8f4790d0a0a561db0393148c99683ed0632e0bb Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 16 Nov 2015 18:10:15 +0530 Subject: [PATCH] [hotfix] --- 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 413c7ae5f9..a8cdf83a29 100644 --- a/erpnext/public/js/controllers/taxes_and_totals.js +++ b/erpnext/public/js/controllers/taxes_and_totals.js @@ -503,7 +503,7 @@ erpnext.taxes_and_totals = erpnext.stock.StockController.extend({ if(this.frm.doc.party_account_currency == this.frm.doc.currency) { var total_amount_to_pay = flt((this.frm.doc.grand_total - this.frm.doc.total_advance - this.frm.doc.write_off_amount), precision("grand_total")); - else { + } else { var total_amount_to_pay = flt((this.frm.doc.base_grand_total - this.frm.doc.total_advance - this.frm.doc.base_write_off_amount), precision("base_grand_total")); }