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 %}