mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-10 05:48:15 +00:00
Update taxes_and_totals.js
This commit is contained in:
@@ -289,7 +289,7 @@ erpnext.taxes_and_totals = erpnext.payments.extend({
|
||||
tax.total = flt(this.frm.doc.net_total + tax.tax_amount_after_discount_amount,
|
||||
precision("total", tax));
|
||||
} else {
|
||||
tax.total = flt(this.frm.doc.get("taxes")[row_idx-1].total + tax.tax_amount_after_discount_amount,
|
||||
tax.total = flt(this.frm.doc["taxes"][row_idx-1].total + tax.tax_amount_after_discount_amount,
|
||||
precision("total", tax));
|
||||
}
|
||||
},
|
||||
@@ -649,4 +649,4 @@ erpnext.taxes_and_totals = erpnext.payments.extend({
|
||||
}
|
||||
this.calculate_outstanding_amount(false);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user