Skip to content

Commit

Permalink
feat: add Absent Days column to salary register (#2485)
Browse files Browse the repository at this point in the history
(cherry picked from commit 11cb02c)
  • Loading branch information
shinil-cloud authored and mergify[bot] committed Dec 9, 2024
1 parent 4d2c5f6 commit 418a0a8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hrms/payroll/report/salary_register/salary_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def execute(filters=None):
"start_date": ss.start_date,
"end_date": ss.end_date,
"leave_without_pay": ss.leave_without_pay,
"absent_days": ss.absent_days,
"payment_days": ss.payment_days,
"currency": currency or company_currency,
"total_loan_repayment": ss.total_loan_repayment,
Expand Down Expand Up @@ -175,6 +176,12 @@ def get_columns(earning_types, ded_types):
"fieldtype": "Float",
"width": 50,
},
{
"label": _("Absent Days"),
"fieldname": "absent_days",
"fieldtype": "Float",
"width": 50,
},
{
"label": _("Payment Days"),
"fieldname": "payment_days",
Expand Down

0 comments on commit 418a0a8

Please sign in to comment.