{% load i18n static %} {% if allocation_reqests %}
{% trans "Employee" %}
{% trans "Leave Type" %}
{% trans "Requested Days" %}
{% trans "Actions" %}
{% for leave_allocation_request in allocation_reqests %}
{{leave_allocation_request.employee_id}}
{{leave_allocation_request.leave_type_id}}
{{leave_allocation_request.requested_days}}
{% if leave_allocation_request.status == 'requested' %} {% endif %} {% if leave_allocation_request.status == 'requested' or leave_allocation_request.status == 'approved' %} {% else %} {% endif %}
{% endfor %}
{% else %}

{% trans "No records available at the moment." %}

{% endif %} {% if allocation_reqests.has_next or allocation_reqests.has_previous %}
{% if allocation_reqests.has_previous %} {% endif %} {% if allocation_reqests.has_next %} {% endif %} {% if allocation_reqests.has_next or allocation_reqests.has_previous %} {% trans "Page" %} {{ allocation_reqests.number }} {%trans "of" %} {{allocation_reqests.paginator.num_pages }} {% endif %}
{% endif %}