{% extends 'base.html' %}{% from '_m.html' import st %}{% block title %}Payroll {{r.month}}{% endblock %}{% block content %}

Payroll ยท {{r.month}} {{ st(r.status) }}

Total net payable: {{cur}} {{'{:,.0f}'.format(total)}}

Export CSV{% if r.status=='Draft' %}
{% elif role=='admin' %}
{% endif %}
{% for s in rows %} {% if r.status=='Draft' %} {% else %}{% endif %}{% endfor %}
EmployeeGrossOTIncentiveReimb.Unpaid daysAbsent ded.Late ded.TaxPFLoanOther ded.BonusNet
{{s.full_name}}
{{s.code}}
{{'{:,.0f}'.format(s.gross)}}{{'{:,.0f}'.format(s.ot_pay)}}{{'{:,.0f}'.format(s.incentive)}}{{'{:,.0f}'.format(s.reimb)}}{{s.unpaid}}{{'{:,.0f}'.format(s.absent_ded)}}{{'{:,.0f}'.format(s.late_ded)}}{{'{:,.0f}'.format(s.tax)}}{{'{:,.0f}'.format(s.pf)}}{{'{:,.0f}'.format(s.loan_ded)}}
{{'{:,.0f}'.format(s.net)}} View{{'{:,.0f}'.format(s.other_ded)}}{{'{:,.0f}'.format(s.bonus)}}{{'{:,.0f}'.format(s.net)}}Payslip

Cost by department

{% for n,v in dep %}
{{n}}
{{'{:,.0f}'.format(v)}}
{% endfor %}

Deductions: absent/unpaid days and late-arrival penalties come from attendance; tax and PF use the percentages in Settings.

{% endblock %}