fix: Additional salary can be created only for active employee

This commit is contained in:
Anurag Mishra 2020-02-20 15:29:09 +05:30
parent a6701aa7bc
commit 3f0c01199d

View File

@ -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"
}
};
});