From 474226b280aba6f320f74801f8e41c0706acc757 Mon Sep 17 00:00:00 2001 From: Bakry Date: Thu, 19 Sep 2024 14:24:36 +0300 Subject: [PATCH] fix --- .../exp_hr_payroll/data/hr_payroll_data.xml | 71 +----------------- .../views/salary_structure.xml | 75 ++++++++++++++++--- 2 files changed, 65 insertions(+), 81 deletions(-) diff --git a/odex25_hr/exp_hr_payroll/data/hr_payroll_data.xml b/odex25_hr/exp_hr_payroll/data/hr_payroll_data.xml index 98f583d94..a83d886be 100644 --- a/odex25_hr/exp_hr_payroll/data/hr_payroll_data.xml +++ b/odex25_hr/exp_hr_payroll/data/hr_payroll_data.xml @@ -7,85 +7,18 @@ - - Basic - BASIC - Allowance ALW + allowance - - Gross - GROSS - Deduction DED - - - - Net - NET - - - - Company Contribution - COMP - - - - Basic Salary - - BASIC - - none - code - result = contract.wage - - - - Gross - - GROSS - - none - code - result = categories.BASIC + categories.ALW - - - - Unpaid Leave - - UNP - - none - code - result=-(contract.wage / worked_days.WORK100.number_of_days) * worked_days.Unpaid.number_of_days - - - - Net Salary - - NET - - none - code - result = categories.BASIC + categories.ALW + categories.DED - - - - - - - - BASE - Base for new structures - - + deduction diff --git a/odex25_hr/exp_payroll_custom/views/salary_structure.xml b/odex25_hr/exp_payroll_custom/views/salary_structure.xml index abdb2b7f3..2f0bf8517 100644 --- a/odex25_hr/exp_payroll_custom/views/salary_structure.xml +++ b/odex25_hr/exp_payroll_custom/views/salary_structure.xml @@ -1,23 +1,74 @@ - + + + - - SAR - Advance Salary - + + + +