Correction typos

This commit is contained in:
Jean-Christophe Engel 2024-03-25 20:57:19 +01:00
parent 36f4bffb48
commit 5eb8fa63fd
3 changed files with 10 additions and 3 deletions

View File

@ -20,7 +20,7 @@
}, },
"output_nature": { "output_nature": {
"description": "Nature des sorties", "description": "Nature des sorties",
"type": ["array", "null"], "type": ["array", "null"],
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {

View File

@ -24,7 +24,7 @@
{{* vérifier s'il y a des matériels dans cette catégorie *}} {{* vérifier s'il y a des matériels dans cette catégorie *}}
{{:assign present=false}} {{:assign present=false}}
{{if $cat_elem|keys|has:"eqpmt"}} {{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}} {{if $eqpmt.stock !== null && $eqpmt.stock !== 0}}
{{:assign present=true}} {{:assign present=true}}
{{:break}} {{:break}}

View File

@ -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 direction=$_GET.direction}}
{{:assign key_mvt=$_GET.key}} {{:assign key_mvt=$_GET.key}}