{% 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 "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}}
{% trans "Is permenent shift" %} {% if shift_request.is_permanent_shift == True %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %}
{% 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 %}