mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
Merge pull request #35336 from frappe/mergify/bp/version-14-hotfix/pr-35239
fix: in payment_entry difference amount cal is broken (backport #35239)
This commit is contained in:
@@ -905,7 +905,7 @@ frappe.ui.form.on('Payment Entry', {
|
|||||||
function(d) { return flt(d.amount) }));
|
function(d) { return flt(d.amount) }));
|
||||||
|
|
||||||
frm.set_value("difference_amount", difference_amount - total_deductions +
|
frm.set_value("difference_amount", difference_amount - total_deductions +
|
||||||
frm.doc.base_total_taxes_and_charges);
|
flt(frm.doc.base_total_taxes_and_charges));
|
||||||
|
|
||||||
frm.events.hide_unhide_fields(frm);
|
frm.events.hide_unhide_fields(frm);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user