[Fix] Update totals on salary component deletion
This commit is contained in:
parent
72c7e73ce0
commit
c02745c826
@ -62,6 +62,15 @@ frappe.ui.form.on("Salary Slip", {
|
||||
|
||||
})
|
||||
|
||||
frappe.ui.form.on('Salary Detail', {
|
||||
earnings_remove: function(frm, dt, dn) {
|
||||
calculate_all(frm.doc, dt, dn);
|
||||
},
|
||||
deductions_remove: function(frm, dt, dn) {
|
||||
calculate_all(frm.doc, dt, dn);
|
||||
}
|
||||
})
|
||||
|
||||
// Get leave details
|
||||
//---------------------------------------------------------------------
|
||||
cur_frm.cscript.start_date = function(doc, dt, dn){
|
||||
|
Loading…
Reference in New Issue
Block a user