{% extends "base.html" %} {% block title %}Équipements — GMAO Collège{% endblock %} {% block content %}

Équipements par zone

Inventaire guidé Fiche unitaire avancée+
{% if view == 'zones' %}
Quantités regroupées par zone, salle et type d’équipement.
{% for building in zone_tree %}
{{ building.name }}
{% for zone in building.zones %}
{{ zone.name }} {{ zone.rooms|length }} salle(s){% for room in zone.rooms %}
{{ room.name }} {{ room.types|sum(attribute='quantity') }}{% for item in room.types %}{% endfor %}
{{ item.name }}{{ item.category }}{{ item.quantity }}
{% endfor %}
{% endfor %}
{% else %}
Aucun équipement localisé.
{% endfor %} {% else %} {% if parents %}
{% for parent in parents %}
Le contenu sera chargé à l’ouverture.
{% if false and parent.zones_list %}
{% for zone in parent.zones_list %}
{% for room_data in zone.rooms_list %}
{% for indiv in room_data.individuals %} {% endfor %}
Code Nom / N° Statut Curatif Actions
{{ indiv.code or '—' }} {{ indiv.name }} {% if indiv.individual_number %} #{{ indiv.individual_number }} {% endif %} {{ indiv.status|format_status }} {% if indiv.curative_count > 0 %} {{ indiv.curative_count }} {% else %} 0 {% endif %}
{% endfor %}
{% endfor %}
{% else %}

Aucun individuel dans ce groupe.

{% endif %}
{% endfor %}
{% else %}

Aucun équipement

{% endif %} {% endif %} {% if pagination and pagination.pages > 1 %}

Page {{ pagination.page }} / {{ pagination.pages }} — {{ pagination.total }} groupe(s) au total

{% endif %} {% endblock %}