Simplification calcul dispo et config par défaut

This commit is contained in:
Jean-Christophe Engel 2023-12-07 17:33:49 +01:00
parent d7f7ec9423
commit af9dbf2b22
14 changed files with 260 additions and 304 deletions

View file

@ -10,10 +10,10 @@
{{/if}}
{{#load type="category"}}
{{:assign var="categories." value=$key}}
{{:assign var="category_keys." value=$key}}
{{/load}}
{{if $categories|count == 0}}
{{if $category_keys|count == 0}}
<p class="block alert">Il n'y a aucune catégorie : vous devez en ajouter.</p>
{{else}}
{{:include file="./inventaire.html" print_cat_name=true}}