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

HR – Travel Reimbursements

Download CSV
Pending: {{ pending|length }} Processed: {{ processed|length }}
Pending (HR Action)
{% if pending %} {% for r in pending %} {% set att_count = (r.items|selectattr('attachment_path')|list)|length %} {% endfor %} {% else %} {% endif %}
# Employee Month Total Amt Att Actions
{{ 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 %}
No pending items.
Processed
{% if processed %} {% for r in processed %} {% set att_count = (r.items|selectattr('attachment_path')|list)|length %} {% endfor %} {% else %} {% endif %}
# Employee Month Total Amt Att Status Action
{{ 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=='hr_approved' %} HR Approved {% elif r.status=='paid' %} Paid {% else %} Rejected {% endif %} {% if r.status=='hr_approved' %}
{% else %} {% endif %}
No processed items.
{% endblock %}