Salary Structure - filter for earnings

This commit is contained in:
Jamsheer 2018-05-22 13:41:55 +05:30
parent 43e191289c
commit ce7310255e

View File

@ -19,7 +19,9 @@ frappe.ui.form.on('Salary Structure', {
frm.set_query("salary_component", "earnings", function() {
return {
filters: {
type: "earning"
type: "earning",
is_additional_component: 0,
is_group: 0
}
}
});