Skip to content

Commit

Permalink
refactor: drop setting to control visibility of opening amount fields…
Browse files Browse the repository at this point in the history
… in assignment

- this setting just toggles visibility of the opening earnings till date & tax deducted till date, but if its disabled & amounts are set, these amounts are still considered in payroll

- seems like an overkill to just control visibility
  • Loading branch information
ruchamahabal committed Oct 18, 2024
1 parent 7b36d76 commit 165b361
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions hrms/payroll/doctype/payroll_settings/payroll_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@
"encrypt_salary_slips_in_emails",
"password_policy",
"other_settings_section",
"define_opening_balance_for_earning_and_deductions",
"column_break_zi9y",
"process_payroll_accounting_entry_based_on_employee"
"process_payroll_accounting_entry_based_on_employee",
"column_break_zi9y"
],
"fields": [
{
Expand Down Expand Up @@ -112,13 +111,6 @@
"fieldname": "column_break_6",
"fieldtype": "Column Break"
},
{
"default": "0",
"description": "If checked, then the system will enable the provision to set the opening balance for earnings and deductions till date while creating a Salary Structure Assignment (if any)",
"fieldname": "define_opening_balance_for_earning_and_deductions",
"fieldtype": "Check",
"label": "Define Opening Balance for Earning and Deductions"
},
{
"fieldname": "column_break_rnoq",
"fieldtype": "Section Break",
Expand Down Expand Up @@ -186,7 +178,7 @@
"index_web_pages_for_search": 1,
"issingle": 1,
"links": [],
"modified": "2024-03-27 13:10:12.692252",
"modified": "2024-10-18 17:12:02.044020",
"modified_by": "Administrator",
"module": "Payroll",
"name": "Payroll Settings",
Expand Down

0 comments on commit 165b361

Please sign in to comment.