{% extends "base.html" %} {% block content %}
| {{ sort_link("Employee", "name") }} | {{ sort_link("Code", "code") }} | Department | Designation | {{ sort_link("Gross", "gross") }} | {{ sort_link("Deductions", "deductions") }} | {{ sort_link("Net", "net") }} | {% if view == "frozen" %}{{ sort_link("CTC", "ctc") }} | Month | {% endif %}Action |
|---|---|---|---|---|---|---|---|---|---|
|
{{ emp.full_name }}
{{ emp.email }}
{% if emp.reporting_manager %}
· Manager: {{ emp.reporting_manager.full_name }}
{% endif %}
|
{{ emp.employee_code }} | {{ emp.department.name if emp.department else "-" }} | {{ emp.designation.title if emp.designation else "-" }} | {{ "%.2f"|format(gross or 0) }} | {{ "%.2f"|format(deductions or 0) }} | {{ "%.2f"|format(net or 0) }} | {% if view == "frozen" %}{{ "%.2f"|format(ctc or 0) }} | {{ payroll_month or frozen_month or "-" }} | {% endif %}