{% load basefilters %} {% load i18n %} {% load horillafilters %}
{% trans "Details" %}
{% if request.GET.instances_ids %}
{% endif %}
Mary Magdalene
{{shift_request.employee_id}} {{shift_request.employee_id.employee_work_info.department_id}} / {{shift_request.employee_id.employee_work_info.job_position_id}}
{% trans "Reallocate to" %} {{shift_request.reallocate_to}}
{% trans "User availability" %} {% if shift_request.reallocate_approved == True %}
{% trans "Available" %}
{% elif shift_request.reallocate_canceled == True %}
{% trans "Not Available" %}
{% else %}
{% trans "Not Marked" %}
{% endif %}
{% trans "Requested shift" %} {{shift_request.shift_id}}
{% trans "Previous shift" %} {{shift_request.previous_shift_id}}
{% trans "Requested date" %} {{shift_request.requested_date}}
{% trans "Requested till" %} {{shift_request.requested_till}}
{% trans "Description" %} {{shift_request.description}}
{% if dashboard == 'true' %} {% trans "Approve" %} {% trans "Cancel" %} {% else %} {% if shift_request.approved == False and not shift_request.canceled %} {% else %} {% endif %} {% if shift_request.approved == False and shift_request.canceled == False %}
{% csrf_token %}
{% elif perms.base.change_shiftrequest or request.user|is_reportingmanager %}
{% csrf_token %}
{% else %} {% endif %} {% endif %}