{{ company_address or "" }}
{{ company_phone or "" }} {{ company_email or "" }}
| Employee Id: {{ employee_id or "" }} | Name: {{ first_name or "" }} {{ last_name or "" }} |
| Department: {{ department or "" }} | Designation: {{ designation or "" }} |
| Date of Joining: {{ date_of_joining or "" }} | Total Leave Days: {{ total_leave_days or "" }} |
| Payroll Period: {{ period or "" }} | Leave Days Taken: {{ leave_days_taken or "" }} |
| Earnings | Amount | Deductions | Amount |
|---|---|---|---|
| {{ earnings[i].name if i < earnings|length else "" }} | {{ "%.2f"|format(earnings[i].amount) if i < earnings|length else "" }} | {{ deductions[i].name if i < deductions|length else "" }} | {{ "%.2f"|format(deductions[i].amount) if i < deductions|length else "" }} |
| Total Earnings | {{ "%.2f"|format(total_earnings or 0) }} | Total Deductions | {{ "%.2f"|format(total_deductions or 0) }} |