{% if perms.base.change_shiftrequest or request.user|is_reportingmanager %}
{% trans "Confirmation" %}
{% endif %}
{% for shift_request in data %}
{{shift_request.employee_id}}
{{shift_request.shift_id}}
{{shift_request.previous_shift_id}}
{{shift_request.requested_date}}
{{shift_request.requested_till}}
{% if shift_request.approved %}{% trans "Approved" %}{% elif shift_request.canceled %}{% trans "Rejected" %}{% else %}{% trans "Requested" %}{% endif %}
{{shift_request.description|truncatechars:30}}
{% if shift_request.approved == False and not shift_request.canceled %}
{% else %}
{% endif %}
{% if shift_request.approved == False and shift_request.canceled == False %}
{% elif perms.base.change_shiftrequest or request.user|is_reportingmanager %}
{% else %}
{% endif %}
{% if perms.base.change_shiftrequest or request.user|is_reportingmanager %}
{% if shift_request.approved == False and shift_request.canceled == False %}
{% else %}
{% endif %}
{% if shift_request.canceled == False %}
{% else %}
{% endif %}
{% endif %}
{% endfor %}
{% trans "Page" %} {{ data.number }} {% trans "of" %} {{ data.paginator.num_pages }}.
{% else %}
{% trans "No search result found!" %}
{% endif %}
{% if allocated_data %}
{% trans "Employee" %}
{% trans "Allocated Employee" %}
{% trans "User Availability" %}
{% trans "Requested Shift" %}
{% trans "Previous/Current Shift" %}
{% trans "Requested Date" %}
{% trans "Requested Till" %}
{% trans "Description" %}
{% trans "Comment" %}
{% trans "Actions" %}
{% if perms.base.change_shiftrequest or request.user|is_reportingmanager %}
{% trans "Confirmation" %}
{% endif %}
{% for shift_request in allocated_data %}
{{shift_request.employee_id}}
{{shift_request.reallocate_to}}
{% if shift_request.reallocate_approved == True %}