{% extends (app.request.isXmlHttpRequest) ? "::adminBaseAjax.html.twig" : app.request.get('project_setting').instance_theme_path~":AdminTheme:base.html.twig" %} {% block breadcrumb %} {% if employee_type is defined and employee_type == 'companyEmployee' %}
  • {{ 'admin.company.listcompany' | trans }} /
  • {% elseif employee_type is defined and employee_type == 'branchEmployee' %}
  • {{ 'admin.company.listbranch' | trans }} /
  • {% endif %}
  • {{ 'admin.employee.list' | trans }}
  • {% endblock breadcrumb %} {% block main_page_title %}

    {{ 'admin.employee.list' | trans }}

    {% endblock main_page_title %} {% block main_content %}
    {% if employeeAccessField.option.button_view_employee.option.button_search_employee.status == 1 %} {% endif %}
    {{ 'admin.total.active' | trans }}
    {{ total_active }}
    {{ 'admin.total.inactive' | trans }}
    {{ total_inactive }}
    {{ 'admin.total.totalrecord' | trans }}
    {{ total_record }}
    {% if employeeConfigrationField.first_name.status == 1 %}{% endif %} {% if employeeConfigrationField.last_name.status == 1 %}{% endif %} {% if employeeConfigrationField.country.status == 1 %}{% endif %} {% if employeeConfigrationField.state.status == 1 %}{% endif %} {% if employeeConfigrationField.city.status == 1 %}{% endif %} {% if employeeConfigrationField.mobile.status == 1 %}{% endif %} {% if employeeAccessField.option.button_view_employee.option.button_edit_employee.status == 1 or employeeAccessField.option.button_view_employee.option.button_deactivate_employee.status==1 %}{% endif %} {% block ajax_body %} {% if (record_set|length>0) %} {% set i = 1 %} {% for index in record_set %} {% if employeeConfigrationField.first_name.status == 1 %}{% endif %} {% if employeeConfigrationField.last_name.status == 1 %}{% endif %} {% if employeeConfigrationField.country.status == 1 %}{% endif %} {% if employeeConfigrationField.state.status == 1 %}{% endif %} {% if employeeConfigrationField.city.status == 1 %}{% endif %} {% if employeeConfigrationField.mobile.status == 1 %}{% endif %} {% if employeeAccessField.option.button_view_employee.option.button_edit_employee.status == 1 or employeeAccessField.option.button_view_employee.option.button_deactivate_employee.status==1 %} {% endif %} {% set i = i+1 %} {% endfor %} {% else %} {% endif %} {% endblock ajax_body %}
    {{ 'admin.company.srno.label'|trans }}{{ 'user.admin_user.first_name.label'| trans }}{{ 'user.admin_user.last_name.label'| trans }}{{ 'user.admin_user.country.label'| trans }}{{ 'user.admin_user.state.label'| trans }}{{ 'user.admin_user.city.label'| trans }}{{ 'user.admin_user.mobile.label'| trans }}{{ 'user.admin_user.status.status'| trans }}{{ 'admin.icon.action'|trans }}
    {{ i }}{% if index.firstName is defined and index.firstName != '' %}{{ index.firstName }}{% endif %}{% if index.lastName is defined and index.lastName != '' %}{{ index.lastName }}{% endif %}{% if index.countryId is defined and index.countryId != '' %}{{ index.countryId | country }}{% endif %}{% if index.stateId is defined and index.stateId != '' %}{{ index.stateId | state }}{% endif %}{% if index.cityId is defined and index.cityId != '' %}{{ index.cityId | city }}{% endif %}{% if index.mobile is defined and index.mobile != '' %}{{ index.mobile }}{% endif %} {% if index.status is defined and index.status == 'active' %} {% else %} {% endif %} {% if employeeAccessField.option.button_view_employee.option.button_edit_employee.status == 1 %} {% endif %} {% if employeeAccessField.option.button_view_employee.option.button_deactivate_employee.status == 1 %} {% endif %} {% if employeeAccessField.option.button_view_employee.option.button_access_employee.status == 1 %} {% endif %}
    {{ 'user.admin_user.no_record'|trans }}
    {% endblock main_content %}