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:
ruthra kumar
2023-05-18 12:15:44 +05:30
committed by GitHub

View File

@@ -905,7 +905,7 @@ frappe.ui.form.on('Payment Entry', {
function(d) { return flt(d.amount) }));
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);
},