2024-10-28 09:53:29 +01:00
|
|
|
{{* -*- brindille -*- *}}
|
|
|
|
|
2023-10-16 11:57:55 +02:00
|
|
|
{{:admin_header title="Gestion des matériels" custom_css=$custom_css current="module_equipment"}}
|
2023-10-10 10:59:46 +02:00
|
|
|
|
|
|
|
{{* barre de navigation *}}
|
2024-11-16 10:25:16 +01:00
|
|
|
{{:include file="_nav.html" current="inventaire" subcurrent="proprio"}}
|
2023-10-16 11:57:55 +02:00
|
|
|
|
2023-12-05 19:17:08 +01:00
|
|
|
{{if $_GET.ok}}
|
2024-10-28 09:53:29 +01:00
|
|
|
{{if $_GET.msg == "ajout" }}
|
|
|
|
<p class="block confirm">Ajout effectué</p>
|
2024-10-29 10:24:50 +01:00
|
|
|
{{elseif $_GET.msg == "modification" }}
|
|
|
|
<p class="block confirm">Modification effectuée</p>
|
2024-10-28 09:53:29 +01:00
|
|
|
{{else}}
|
|
|
|
<p class="block confirm">{{$_GET.msg}}</p>
|
|
|
|
{{/if}}
|
2023-12-05 19:17:08 +01:00
|
|
|
{{elseif $_GET.err}}
|
2023-12-06 09:59:11 +01:00
|
|
|
<p class="block error">Modification refusée</p>
|
2023-12-05 19:17:08 +01:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#load type="category"}}
|
2023-12-07 17:33:49 +01:00
|
|
|
{{:assign var="category_keys." value=$key}}
|
2023-12-05 19:17:08 +01:00
|
|
|
{{/load}}
|
2023-10-10 10:59:46 +02:00
|
|
|
|
2023-12-07 17:33:49 +01:00
|
|
|
{{if $category_keys|count == 0}}
|
2023-12-06 09:59:11 +01:00
|
|
|
<p class="block alert">Il n'y a aucune catégorie : vous devez en ajouter.</p>
|
2023-11-30 18:37:09 +01:00
|
|
|
{{else}}
|
2024-11-14 16:21:10 +01:00
|
|
|
{{*
|
2024-10-29 10:24:50 +01:00
|
|
|
<fieldset>
|
|
|
|
{{:linkbutton label="Ajouter un nouveau matériel" shape="plus" href="mouvements/ajouter_entree.html" target="_dialog"}}
|
|
|
|
</fieldset>
|
2024-11-14 16:21:10 +01:00
|
|
|
*}}
|
2023-12-06 09:59:11 +01:00
|
|
|
{{:include file="./inventaire.html" print_cat_name=true}}
|
2023-11-30 18:37:09 +01:00
|
|
|
{{/if}}
|
|
|
|
|
2023-10-10 10:59:46 +02:00
|
|
|
{{:admin_footer}}
|