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

HOD – Travel Reimbursements

Pending (Manager Action)
{% if pending %} {% for r in pending %} {% set att_count = (r.items|selectattr('attachment_path')|list)|length %} {% endfor %} {% else %} {% endif %}
# 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.
Processed (Approved / Rejected)
{% if processed %} {% for r in processed %} {% set att_count = (r.items|selectattr('attachment_path')|list)|length %} {% endfor %} {% else %} {% endif %}
# 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.
{% endblock %}