Merge pull request #35239 from ashish-greycube/patch-8
fix: in payment_entry difference amount cal is broken
This commit is contained in:
commit
e927f6cab1
@ -904,7 +904,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);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user