fix: Additional salary can be created only for active employee
This commit is contained in:
parent
a6701aa7bc
commit
3f0c01199d
@ -8,7 +8,8 @@ frappe.ui.form.on('Additional Salary', {
|
||||
frm.set_query("employee", function() {
|
||||
return {
|
||||
filters: {
|
||||
company: frm.doc.company
|
||||
company: frm.doc.company,
|
||||
status: "Active"
|
||||
}
|
||||
};
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user