Fix error
This commit is contained in:
parent
a7559be5b2
commit
fda15702bc
@ -84,6 +84,7 @@ frappe.ui.form.on('Employee Advance', {
|
||||
},
|
||||
|
||||
employee: function (frm) {
|
||||
if (frm.doc.employee) {
|
||||
return frappe.call({
|
||||
method: "erpnext.hr.doctype.employee_advance.employee_advance.get_due_advance_amount",
|
||||
args: {
|
||||
@ -95,4 +96,5 @@ frappe.ui.form.on('Employee Advance', {
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user