Ajout archivage matériels de stock nul

This commit is contained in:
Jean-Christophe Engel 2025-02-20 10:29:57 +01:00
parent 3e0f3159ae
commit 4a46099275
10 changed files with 214 additions and 60 deletions

View file

@ -34,7 +34,7 @@
{{* Vérifier s'il y a au moins un matériel non propriété de l'asso *}}
{{:assign mat_present=false}}
{{#foreach from=$equipments key=key item=eqpmt}}
{{if $eqpmt|has_key:"nonproprio"}}
{{if $eqpmt|has_key:"nonproprio" && $eqpmt.status != "archived"}}
{{:assign mat_present=true}}
{{:break}}
{{/if}}