commit | ce7310255e1d4b1f812e6beccb6debf498bb6e0b | [log] [tgz] |
---|---|---|
author | Jamsheer <jamsheer@earthianslive.com> | Tue May 22 13:41:55 2018 +0530 |
committer | Jamsheer <jamsheer@earthianslive.com> | Fri May 25 12:37:36 2018 +0530 |
tree | 802959d3e02619168b1087df0770ff683d548e89 | |
parent | 43e191289cde9d18cb21ed21ad5e6f0515f1d630 [diff] |
Salary Structure - filter for earnings
diff --git a/erpnext/hr/doctype/salary_structure/salary_structure.js b/erpnext/hr/doctype/salary_structure/salary_structure.js index 9e62b66..56f5992 100755 --- a/erpnext/hr/doctype/salary_structure/salary_structure.js +++ b/erpnext/hr/doctype/salary_structure/salary_structure.js
@@ -19,7 +19,9 @@ frm.set_query("salary_component", "earnings", function() { return { filters: { - type: "earning" + type: "earning", + is_additional_component: 0, + is_group: 0 } } });