{% extends 'base.html' %} {% block content %}
| # | Employee | Month | Total KMs | Total Amount | Att | Actions |
|---|---|---|---|---|---|---|
| {{ loop.index }} | {{ r.employee.full_name }} | {{ '%02d'|format(r.month) }}/{{ r.year }} | {{ '%.2f'|format(r.total_kms or 0) }} | ₹ {{ '%.2f'|format(r.total_amount or 0) }} | {% if att_count > 0 %} 📎 {{ att_count }} {% else %} — {% endif %} | View |
| No pending items. | ||||||
| # | Employee | Month | Total Amount | Att | Status |
|---|---|---|---|---|---|
| {{ loop.index }} | {{ r.employee.full_name }} | {{ '%02d'|format(r.month) }}/{{ r.year }} | ₹ {{ '%.2f'|format(r.total_amount or 0) }} | {% if att_count > 0 %} 📎 {{ att_count }} {% else %} — {% endif %} | {% if r.status=='manager_approved' %} Approved → HR {% else %} Rejected {% endif %} |
| No processed items. | |||||