diff --git a/erpnext/selling/doctype/sales_common/sales_common.js b/erpnext/selling/doctype/sales_common/sales_common.js index 8767b2d1cb1..5721ea7c7cd 100644 --- a/erpnext/selling/doctype/sales_common/sales_common.js +++ b/erpnext/selling/doctype/sales_common/sales_common.js @@ -252,7 +252,7 @@ cur_frm.cscript.calc_doc_values = function(doc, cdt, cdn, tname, fname, other_fn } doc.net_total = inclusive_rate ? flt(net_total_incl) : flt(net_total); - doc.other_charges_total = flt(other_charges_total).toFixed(2); + doc.other_charges_total = flt(flt(other_charges_total).toFixed(2)); //doc.grand_total = flt(flt(net_total) + flt(other_charges_total)); doc.grand_total = flt((flt(net_total) + flt(other_charges_total)).toFixed(2)); doc.rounded_total = Math.round(doc.grand_total);