From 165b361edbd8f2f9780bfab9874fe16ce242976d Mon Sep 17 00:00:00 2001 From: Rucha Mahabal Date: Fri, 18 Oct 2024 17:15:24 +0530 Subject: [PATCH] refactor: drop setting to control visibility of opening amount fields 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 --- .../doctype/payroll_settings/payroll_settings.json | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/hrms/payroll/doctype/payroll_settings/payroll_settings.json b/hrms/payroll/doctype/payroll_settings/payroll_settings.json index c23d3bbf0f..60224e6a41 100644 --- a/hrms/payroll/doctype/payroll_settings/payroll_settings.json +++ b/hrms/payroll/doctype/payroll_settings/payroll_settings.json @@ -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": [ { @@ -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", @@ -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",