{% extends '_include/base.html.twig' %} {% block title %}Employees · ERP Starz{% endblock %} {% block breadcrumbs %} {% endblock %} {% block page_title %}Employees{% endblock %} {% block page_actions %} New Employee Export Excel Export CSV {% endblock %} {% block content %} {% set currency = display_currency() %}

Employee List

Active Employees: {{ activeEmp }}/{{ employee_infos|length }}

{% for employee_info in employee_infos %} {% else %} {% endfor %}
Photo Registration N° Full Name Birth Date Gender Gov. ID Category Salary Type Salary Base Active Actions
{% if employee_info.photo is null %} {% else %} {{ employee_info.firstName }} {% endif %} {{ employee_info.registrationNbr }} {{ employee_info.firstName }} {{ employee_info.lastName }} {{ employee_info.birthDate ? employee_info.birthDate|date('Y-m-d') : '' }} {{ employee_info.gender }} {{ employee_info.govIdNbr|slice(-3) }} {{ employee_info.category }} {% if employee_info.salaryType=='F' %} Fix-Transfer {% elseif employee_info.salaryType=='FC' %} Fix-Cache {% elseif employee_info.salaryType=='VV' %} Variable-Transfer {% elseif employee_info.salaryType=='V' %} Variable-Cache {% else %} Other {% endif %} {{ employee_info.salaryBase|format_currency(currency) }}
No employees found
{% if pagination is defined %} {% include '_include/_pagination.html.twig' %} {% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {#datatable#} {#end datatable#} {% endblock %}