mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-27 10:38:30 +00:00
calculate total leave days on load
This commit is contained in:
@@ -34,6 +34,7 @@ cur_frm.cscript.onload = function(doc, dt, dn) {
|
||||
cur_frm.cscript.get_leave_balance(cur_frm.doc);
|
||||
}
|
||||
});
|
||||
cur_frm.cscript.calculate_total_days(doc, dt, dn);
|
||||
}
|
||||
|
||||
cur_frm.cscript.refresh = function(doc, dt, dn) {
|
||||
|
||||
Reference in New Issue
Block a user