calculate total leave days on load

This commit is contained in:
Anand Doshi 2013-02-19 18:49:12 +05:30
parent f36a00bcbe
commit 64e47afec1

View File

@ -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) {