mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
fix: pass positional arguments on creation of leave application
This commit is contained in:
@@ -143,7 +143,7 @@ frappe.ui.form.on("Leave Application", {
|
|||||||
method: "erpnext.hr.doctype.leave_application.leave_application.get_leave_balance_on",
|
method: "erpnext.hr.doctype.leave_application.leave_application.get_leave_balance_on",
|
||||||
args: {
|
args: {
|
||||||
employee: frm.doc.employee,
|
employee: frm.doc.employee,
|
||||||
from_date: frm.doc.from_date,
|
date: frm.doc.from_date,
|
||||||
to_date: frm.doc.to_date,
|
to_date: frm.doc.to_date,
|
||||||
leave_type: frm.doc.leave_type,
|
leave_type: frm.doc.leave_type,
|
||||||
consider_all_leaves_in_the_allocation_period: true
|
consider_all_leaves_in_the_allocation_period: true
|
||||||
|
|||||||
Reference in New Issue
Block a user