calculate total leave days on load
diff --git a/hr/doctype/leave_application/leave_application.js b/hr/doctype/leave_application/leave_application.js
index 9df348a..2f2e3dc 100755
--- a/hr/doctype/leave_application/leave_application.js
+++ b/hr/doctype/leave_application/leave_application.js
@@ -34,6 +34,7 @@
 			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) {