{% load horillafilters %} {% load basefilters %} {% load static %} {% load i18n %} {% include 'filter_tags.html' %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% if data %} {% if perms.employee.view_employee or request.user|is_reportingmanager %}
{% trans "Select All Employees" %}
{% endif %} {% endif %}
{% if data %}
{% for employee_list in data %}
{{employee_list.list.paginator.count}} {{employee_list.grouper}}
{% trans "Employee" %}
{% trans "Email" %}
{% trans "Phone" %}
{% trans "Badge Id" %}
{% trans "Job Position" %}
{% trans "Department" %}
{% trans "Shift" %}
{% trans "Work Type" %}
{% trans "Job Role" %}
{% trans "Reporting Manager" %}
{% trans "Company" %}
{% trans "Work Email" %}
{% trans "Date of Joining" %}
{% trans "Actions" %}
{% for emp in employee_list.list %}
Username
{{emp}}
{{emp.email}} {{emp.phone}} {{emp.badge_id}} {{emp.employee_work_info.job_position_id}} {{emp.employee_work_info.department_id}} {{emp.employee_work_info.shift_id}} {{emp.employee_work_info.work_type_id}} {{emp.employee_work_info.job_role_id}} {{emp.employee_work_info.reporting_manager_id}} {{emp.employee_work_info.company_id}} {{emp.employee_work_info.email}} {{emp.employee_work_info.date_joining}}
{% if perms.employee.change_employee or request.user|check_manager:emp %} {% endif %} {% if perms.employee.delete_employee %} {% if emp.is_active %}
{% csrf_token %}
{% else %}
{% csrf_token %}
{% endif %} {% endif %} {% if perms.employee.delete_employee %}
{% csrf_token %}
{% endif %}
{% endfor %}
{% trans "Page" %} {{ employee_list.list.number }} {% trans "of" %} {{ employee_list.list.paginator.num_pages }}.
{% endfor %}
{% trans "Page" %} {{ data.number }} {% trans "of" %} {{ data.paginator.num_pages }}.
{% else %}
Page not found. 404.
{% trans "No group result found!" %}
{% endif %}