Merge pull request #24330 from ruchamahabal/fix-additional-salary-payroll

fix: Components formulated from additional salary not being fetched in Payroll Entry
This commit is contained in:
Anurag Mishra 2021-01-08 13:43:42 +05:30 committed by GitHub
commit 0b3e538cbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -577,7 +577,7 @@ class SalarySlip(TransactionBase):
'default_amount': amount if not struct_row.get("is_additional_component") else 0,
'depends_on_payment_days' : struct_row.depends_on_payment_days,
'salary_component' : struct_row.salary_component,
'abbr' : struct_row.abbr,
'abbr' : struct_row.abbr or struct_row.get("salary_component_abbr"),
'additional_salary': additional_salary,
'do_not_include_in_total' : struct_row.do_not_include_in_total,
'is_tax_applicable': struct_row.is_tax_applicable,