{% trans "Сотрудники" %}
{% trans "Управление персоналом компании" %}
{% trans "Сотрудники" %}
{{ total_count }} {% trans "сотрудников, из них" %} {{ active_count }} {% trans "активных" %}
{% if filter_location_type == 'pharmacy' %}
{% endif %}
| {% trans "Сотрудник" %} | {% trans "Должность" %} | {% trans "Отдел / Аптека" %} | {% trans "Адрес" %} | {% trans "Статус" %} | {% trans "Дата начала" %} |
|---|---|---|---|---|---|
|
{% if employee.photo %}
|
{% if employee.post %} {{ employee.post.name }} {% else %} {{ employee.groups.first.name|default:"-" }} {% endif %} | {% if employee.department %}{{ employee.department.name }}{% elif employee.user_pharmacy %}{{ employee.user_pharmacy.name }}{% else %}-{% endif %} | {% if employee.user_pharmacy %} {{ employee.user_pharmacy.address }} {% elif employee.department %} {% if employee.user_organization %}{{ employee.user_organization.name }}{% else %}-{% endif %} {% else %} - {% endif %} | {% if employee.is_active %} {% trans "Активный" %} {% else %} {% trans "Не активный" %} {% endif %} {% if employee.employment_type == 'contract' %} {% trans "По договору" %} {% endif %} | {{ employee.hire_date|date:"d.m.Y" }} |
| {% trans "Список сотрудников пуст." %} | |||||