diff --git a/mouvements/sorties/emprunte.html b/mouvements/sorties/emprunte.html index 951fff7..615190f 100644 --- a/mouvements/sorties/emprunte.html +++ b/mouvements/sorties/emprunte.html @@ -106,13 +106,13 @@ {{/form}} {{* Extraire et compiler les infos de la base *}} -{{:include file="../../_calcul_dispo.html" keep="equipments"}} +{{:include file="../../_calcul_dispo.html" keep="categories,equipments"}} {{:assign var=present from="equipments.%s.nonproprio"|args:$_GET.key}} {{if $present > 0}} {{* déterminer le matériel concerné par le mouvement *}} - {{#load key=$_GET.key assign="equipment"}} - {{/load}} + {{#load key=$_GET.key assign="equipment"}}{{/load}} + {{:assign var=cat_name from=categories.%s|args:$equipment.category}} {{* formulaire de sortie de matériel *}}