Simplification mineure
This commit is contained in:
parent
232702f9f7
commit
d20c6221e2
@ -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é *}}
|
||||
|
Loading…
Reference in New Issue
Block a user