From 1c5299da41b936caca5c48ac1ab3215b95924c26 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 16 Aug 2026 23:58:41 +0000 Subject: [PATCH] =?UTF-8?q?Afficher=20la=20vue=20agr=C3=A9g=C3=A9e=20des?= =?UTF-8?q?=20=C3=A9quipements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_new/templates/equipments/index.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app_new/templates/equipments/index.html b/app_new/templates/equipments/index.html index bdb2a67..301a847 100644 --- a/app_new/templates/equipments/index.html +++ b/app_new/templates/equipments/index.html @@ -5,6 +5,10 @@

Équipements par zone

+ Inventaire guidé @@ -54,6 +58,11 @@
+{% 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 }}
{% for room in zone.rooms %}
{{ room.name }}{% 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 %} @@ -176,6 +185,7 @@

Aucun équipement

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