{% extends "base.html" %} {% block title %}Personnels - GMAO{% endblock %} {% block content %}

Personnels

Ajouter
{% if staff_list %}
Personnels actifs ({{ staff_list|length }})
{% for s in staff_list %} {% endfor %}
Nom Fonction Service Demandes Ouvertes Contact
{{ s.last_name }} {{ s.first_name }} {{ s.function or '—' }} {{ s.department or '—' }} {{ s.intervention_count }} {% if s.open_intervention_count > 0 %} {{ s.open_intervention_count }} {% else %} 0 {% endif %} {% if s.email %}{{ s.email }}{% endif %} {% if s.phone %}
{{ s.phone }}{% endif %} {% if not s.email and not s.phone %}{% endif %}
{% else %}

Aucun personnel enregistré.

{% endif %} {% if inactive %}
Inactifs ({{ inactive|length }})
{% for s in inactive %} {% endfor %}
Nom Fonction Demandes
{{ s.last_name }} {{ s.first_name }} {{ s.function or '—' }} {{ s.intervention_count }}
{% endif %}
{% endblock %}