Merge pull request #11403 from tundebabzy/issue-11402
Error In Employee Loan Form (#11402)
This commit is contained in:
commit
0ad2cc3def
@ -87,6 +87,7 @@ frappe.ui.form.on('Employee Loan', {
|
||||
},
|
||||
|
||||
employee_loan_application: function (frm) {
|
||||
if(frm.doc.employee_loan_application){
|
||||
return frappe.call({
|
||||
method: "erpnext.hr.doctype.employee_loan.employee_loan.get_employee_loan_application",
|
||||
args: {
|
||||
@ -102,7 +103,8 @@ frappe.ui.form.on('Employee Loan', {
|
||||
frm.set_value("rate_of_interest", r.message.rate_of_interest);
|
||||
}
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
repayment_method: function (frm) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user