Skip to content

Commit

Permalink
fix: rename field to remove zero valued compoents
Browse files Browse the repository at this point in the history
(cherry picked from commit f30f7d4)
  • Loading branch information
saurabh6790 authored and mergify[bot] committed May 2, 2023
1 parent b298aeb commit b0cc416
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hrms/payroll/doctype/salary_component/salary_component.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"round_to_the_nearest_integer",
"statistical_component",
"do_not_include_in_total",
"show_zero_value_component",
"remove_if_zero_valued",
"disabled",
"section_break_5",
"accounts",
Expand Down Expand Up @@ -252,18 +252,18 @@
"label": "Flexible Benefits"
},
{
"default": "0",
"default": "1",
"depends_on": "eval:!doc.statistical_component",
"description": "If checked, the component will be displayed in the salary slip even if the amount is zero",
"fieldname": "show_zero_value_component",
"description": "If checked, the component will not be displayed in the salary slip if the amount is zero",
"fieldname": "remove_if_zero_valued",
"fieldtype": "Check",
"label": "Show Zero Value Component"
"label": "Remove if Zero Valued"
}
],
"icon": "fa fa-flag",
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-02-23 15:13:00.153694",
"modified": "2023-03-01 16:57:46.413627",
"modified_by": "Administrator",
"module": "Payroll",
"name": "Salary Component",
Expand Down

0 comments on commit b0cc416

Please sign in to comment.