Merge pull request #35239 from ashish-greycube/patch-8

fix: in payment_entry  difference amount cal is broken
This commit is contained in:
ruthra kumar 2023-05-17 10:25:55 +05:30 committed by GitHub
commit e927f6cab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -904,7 +904,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);
},