{% extends "base.html" %} {% block content %}

{{ employee.full_name }} ({{ employee.employee_code }}) - Salary Details

Summary

Gross Earnings: ₹{{ "%.2f"|format(gross) }}

Total Deductions: ₹{{ "%.2f"|format(total_deductions) }}

Net Pay: ₹{{ "%.2f"|format(net_pay) }}

CTC: ₹{{ "%.2f"|format(ctc) }}

Edit Salary Structure
Earnings
{% for e in earnings %} {% endfor %}
ComponentAmount (₹)
{{ e.name }}{{ "%.2f"|format(e.amount) }}
Deductions
{% for d in deductions %} {% endfor %}
ComponentAmount (₹)
{{ d.name }}{{ "%.2f"|format(d.amount) }}
{% endblock %}