fix: pass positional arguments on creation of leave application

This commit is contained in:
Mangesh-Khairnar 2019-05-30 13:21:34 +05:30
parent aafb5cb6f6
commit 2124d9884b

View File

@ -143,7 +143,7 @@ frappe.ui.form.on("Leave Application", {
method: "erpnext.hr.doctype.leave_application.leave_application.get_leave_balance_on",
args: {
employee: frm.doc.employee,
from_date: frm.doc.from_date,
date: frm.doc.from_date,
to_date: frm.doc.to_date,
leave_type: frm.doc.leave_type,
consider_all_leaves_in_the_allocation_period: true