{% extends "base.html" %} {% block content %}
CONFIDENTIAL
Company Logo

Salary Slip – {{ month }}

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 }}
{% for item in earnings %} {% endfor %}
Earnings
{{ item.head_name }}₹{{ '%.2f'|format(item.amount) }}
Total₹{{ '%.2f'|format(payroll.gross_pay) }}
{% for item in deductions %} {% endfor %}
Deductions
{{ item.head_name }}₹{{ '%.2f'|format(item.amount) }}
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 %}