Simplification mineure

This commit is contained in:
Jean-Christophe Engel 2023-11-29 12:20:07 +01:00
parent 232702f9f7
commit d20c6221e2
1 changed files with 1 additions and 3 deletions

View File

@ -14,13 +14,11 @@
{{:assign key_eqpmt_init=$mvt_modif.equipment}}
{{* types d'entrées *}}
{{:assign rang=0}}
{{#foreach from=$module.config.inputNature item="elem"}}
{{#foreach from=$module.config.inputNature key="rang" item="elem"}}
{{:assign var='types_entrees.' value="%s"|args:$elem.label}}
{{if $elem.label == $mvt_modif.inputNature}}
{{:assign type_defaut=$rang}}
{{/if}}
{{:assign rang="%d+1"|math:$rang}}
{{/foreach}}
{{* récupérer les infos du matériel associé *}}