Skip to content

Commit

Permalink
fix: typo in salary_register.py (#2757)
Browse files Browse the repository at this point in the history
(cherry picked from commit 920ee88)
  • Loading branch information
developerayyo authored and mergify[bot] committed Feb 11, 2025
1 parent e776dd5 commit 34195d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hrms/payroll/report/salary_register/salary_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def execute(filters=None):
def get_earning_and_deduction_types(salary_slips):
salary_component_and_type = {_("Earning"): [], _("Deduction"): []}

for salary_compoent in get_salary_components(salary_slips):
component_type = get_salary_component_type(salary_compoent)
salary_component_and_type[_(component_type)].append(salary_compoent)
for salary_component in get_salary_components(salary_slips):
component_type = get_salary_component_type(salary_component)
salary_component_and_type[_(component_type)].append(salary_component)

return sorted(salary_component_and_type[_("Earning")]), sorted(salary_component_and_type[_("Deduction")])

Expand Down

0 comments on commit 34195d2

Please sign in to comment.