mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-15 16:28:20 +00:00
Merge pull request #41839 from frappe/mergify/bp/version-15-hotfix/pr-41793
fix: calculate totals and taxes (backport #41793)
This commit is contained in:
@@ -83,7 +83,7 @@ erpnext.taxes_and_totals = class TaxesAndTotals extends erpnext.payments {
|
||||
this.frm.doc.paid_amount = flt(this.frm.doc.grand_total, precision("grand_total"));
|
||||
}
|
||||
|
||||
this.frm.refresh_field("taxes");
|
||||
this.frm.refresh_fields();
|
||||
}
|
||||
|
||||
calculate_discount_amount() {
|
||||
@@ -841,7 +841,7 @@ erpnext.taxes_and_totals = class TaxesAndTotals extends erpnext.payments {
|
||||
});
|
||||
}
|
||||
|
||||
this.frm.refresh_field("taxes");
|
||||
this.frm.refresh_fields();
|
||||
}
|
||||
|
||||
set_default_payment(total_amount_to_pay, update_paid_amount) {
|
||||
|
||||
Reference in New Issue
Block a user