CONFIDENTIAL
Salary Slip – {{ month }}
{% if not slip_template or slip_template.show_employee_section %} {% for row in employee_fields|batch(2, {'label':'', 'value':''}) %} {% for field in row %} {% endfor %} {% endfor %}
Employee Details
{{ field.label }} {{ field.value }}
{% endif %}
{% if earnings %} {% for item in earnings %} {% endfor %} {% else %} {% endif %}
Earnings
{{ item.name }} ₹{{ '%.2f'|format(item.amount or 0) }}
No earnings
Total ₹{{ '%.2f'|format(payroll.gross_pay or 0) }}
{% if deductions %} {% for item in deductions %} {% endfor %} {% else %} {% endif %}
Deductions
{{ item.name }} ₹{{ '%.2f'|format(item.amount or 0) }}
No deductions
Total ₹{{ '%.2f'|format(payroll.deductions or 0) }}
Pay Summary
Net Pay ₹{{ '%.2f'|format(payroll.net_pay or 0) }}
CTC ₹{{ '%.2f'|format(payroll.ctc or 0) }} Freeze Date {{ payroll.freeze_date.strftime('%Y-%m-%d') if payroll.freeze_date else '' }}
{% if slip_template and slip_template.show_ctc_section and ctc_components %} {% for item in ctc_components %} {% endfor %}
CTC Components
{{ item.name }} ₹{{ '%.2f'|format(item.amount or 0) }}
{% endif %} {% if not slip_template or slip_template.show_attendance_section %} {% for row in attendance_fields|batch(2, {'label':'', 'value':''}) %} {% for field in row %} {% endfor %} {% endfor %}
Attendance Summary
{{ field.label }} {{ field.value }}
{% endif %} {% if not slip_template or slip_template.show_footer %} {% endif %}