From 5eb8fa63fd5d5a507a62a431ad2521568bf9e993 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Mon, 25 Mar 2024 20:57:19 +0100 Subject: [PATCH] Correction typos --- config.schema.json | 2 +- inventaire.html | 2 +- mouvements/modifier_mouvement.html | 9 ++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/config.schema.json b/config.schema.json index 0bd2fcb..19afec5 100644 --- a/config.schema.json +++ b/config.schema.json @@ -20,7 +20,7 @@ }, "output_nature": { "description": "Nature des sorties", - "type": ["array", "null"], + "type": ["array", "null"], "items": { "type": "object", "properties": { diff --git a/inventaire.html b/inventaire.html index 9f14a2e..ba81b61 100644 --- a/inventaire.html +++ b/inventaire.html @@ -24,7 +24,7 @@ {{* vérifier s'il y a des matériels dans cette catégorie *}} {{:assign present=false}} {{if $cat_elem|keys|has:"eqpmt"}} - {{#foreach from=$cat_elem.eqpmt key="eqpmt_key" item="eqpmt"}} + {{#foreach from=$cat_elem.eqpmt key="eqpmt_key" item="eqpmt"}} {{if $eqpmt.stock !== null && $eqpmt.stock !== 0}} {{:assign present=true}} {{:break}} diff --git a/mouvements/modifier_mouvement.html b/mouvements/modifier_mouvement.html index 28ebcbc..d614d26 100644 --- a/mouvements/modifier_mouvement.html +++ b/mouvements/modifier_mouvement.html @@ -1,4 +1,11 @@ -{{:admin_header title="Modifier une %s"|args:$_GET.direction current="module_equipment"}} +{{* -*- brindille -*- *}} + +{{if $_GET.direction == "input"}} + {{:assign direction="entrée"}} +{{else}} + {{:assign direction="sortie"}} +{{/if}} +{{:admin_header title="Modifier une %s"|args:$direction current="module_equipment"}} {{:assign direction=$_GET.direction}} {{:assign key_mvt=$_GET.key}}