Merge pull request #20687 from Anurag810/additional_salary_fixes_v13

fix: Additional salary can be created only for active employee
This commit is contained in:
Mangesh-Khairnar 2020-02-20 16:07:35 +05:30 committed by GitHub
commit 1db8ea317d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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