{% load static %} {% load i18n %} {% load basefilters %} {% trans "Shift Requests" %} {% if data or allocated_data %} {% endif %} {% if data or allocated_data %} {% comment %} {% endcomment %} {% trans "Filter" %} {% trans "Work Info" %} {% trans "Employee" %} {{f.form.employee_id}} {% trans "Job Position" %} {{f.form.employee_id__employee_work_info__job_position_id}} {% trans "Shift" %} {{f.form.employee_id__employee_work_info__shift_id}} {% trans "Company" %} {{f.form.employee_id__employee_work_info__company_id}} {% trans "Is Active" %}? {{f.form.employee_id__is_active}} {% trans "Department" %} {{f.form.employee_id__employee_work_info__department_id}} {% trans "Job Role" %} {{f.form.employee_id__employee_work_info__job_role_id}} {% trans "Work Type" %} {{f.form.employee_id__employee_work_info__work_type_id}} {% trans "Reporting Manager" %} {{f.form.employee_id__employee_work_info__reporting_manager_id}} {% trans "Gender" %} {{f.form.employee_id__gender}} {% trans "Shift Request" %} {% trans "Requested Date" %} {{f.form.requested_date}} {% trans "Approved" %}? {{f.form.approved}} {% trans "Canceled" %}? {{f.form.canceled}} {% trans "Requested Shift" %} {{f.form.shift_id}} {% trans "Previous Shift" %} {{f.form.previous_shift_id}} {% trans "Advanced" %} {% trans "Requested Date From" %} {{f.form.requested_date__gte}} {% trans "Requested Date Till" %} {{f.form.requested_date__lte}} {% trans "Group By" %} {% trans "Group By" %} {% trans "Field" %} {% for field in gp_fields %} {% trans field.1 %} {% endfor %} {% if 'employee' in perms or request.user|is_reportingmanager %} {% trans "Actions" %} {% if perms.base.view_shiftrequest %} {% trans "Export" %} {% endif %} {% if perms.base.change_shiftrequest or request.user|is_reportingmanager %} {% trans "Approve Requests" %} {% endif %} {% if perms.base.change_shiftrequest or request.user|is_reportingmanager %} {% trans "Reject Requests" %} {% trans "Delete" %} {% endif %} {% endif %} {% endif %} {% trans "Create" %}