{% extends "base.html" %}
{% block content %}
CONFIDENTIAL
| Employee Name | {{ employee.full_name }} | Employee Code | {{ employee.employee_code }} |
| Department | {{ employee.department.name if employee.department else '' }} | Designation | {{ employee.designation.title if employee.designation else '' }} |
| Date of Joining | {{ employee.date_of_joining.strftime('%Y-%m-%d') }} | Work Mode | {{ employee.work_mode }} |
| Earnings |
{% for item in earnings %}
| {{ item.head_name }} | ₹{{ '%.2f'|format(item.amount) }} |
{% endfor %}
| Total | ₹{{ '%.2f'|format(payroll.gross_pay) }} |
| Deductions |
{% for item in deductions %}
| {{ item.head_name }} | ₹{{ '%.2f'|format(item.amount) }} |
{% endfor %}
| Total | ₹{{ '%.2f'|format(payroll.deductions) }} |
| Net Pay | ₹{{ '%.2f'|format(payroll.net_pay) }} |
| CTC | ₹{{ '%.2f'|format(payroll.ctc or 0) }} | Freeze Date | {{ payroll.freeze_date.strftime('%Y-%m-%d') }} |
| Attendance Summary |
| Total Paid Days | {{ '%.1f'|format(attendance_summary.total_days) }} |
Present | {{ attendance_summary.present }} |
Leave | {{ attendance_summary.leave }} |
| Holidays | {{ attendance_summary.holidays }} |
Weekends | {{ attendance_summary.weekends }} |
LWP | {{ attendance_summary.lwp }} |
{% endblock %}