fix: filter for employees in salary slip (#25361)

This commit is contained in:
Afshan 2021-04-15 23:53:12 +05:30 committed by GitHub
parent 56c428663f
commit 4b496b65b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,9 @@ frappe.ui.form.on("Salary Slip", {
frm.set_query("employee", function() {
return {
query: "erpnext.controllers.queries.employee_query",
filters: frm.doc.company
filters: {
company: frm.doc.company
}
};
});
},