{% if items is not empty %}
{% for item in items %} {% endfor %}
Service Responsable Statut Salariés Actions
{{ item.nom }}
{{ item.description ?: 'Aucune description' }}
{% if item.responsable %}
{{ item.responsable }}
{% else %} Non renseigné {% endif %}
{{ item.actif ? 'Actif' : 'Inactif' }} {{ salarie_counts[item.id]|default(0) }}
{% if is_granted('EMPLOYEE_SERVICE_EDIT') %} Modifier {% endif %} {% if is_granted('EMPLOYEE_SERVICE_DISABLE') %} Supprimer {% endif %}
{% else %}
Aucun service Ajustez vos filtres ou créez un nouveau service.
{% endif %}