mirror of
https://git.roflcopter.fr/lesanges/equipment.git
synced 2025-05-25 00:01:40 +02:00
Simplification mineure
This commit is contained in:
parent
232702f9f7
commit
d20c6221e2
1 changed files with 1 additions and 3 deletions
|
@ -14,13 +14,11 @@
|
||||||
{{:assign key_eqpmt_init=$mvt_modif.equipment}}
|
{{:assign key_eqpmt_init=$mvt_modif.equipment}}
|
||||||
|
|
||||||
{{* types d'entrées *}}
|
{{* types d'entrées *}}
|
||||||
{{:assign rang=0}}
|
{{#foreach from=$module.config.inputNature key="rang" item="elem"}}
|
||||||
{{#foreach from=$module.config.inputNature item="elem"}}
|
|
||||||
{{:assign var='types_entrees.' value="%s"|args:$elem.label}}
|
{{:assign var='types_entrees.' value="%s"|args:$elem.label}}
|
||||||
{{if $elem.label == $mvt_modif.inputNature}}
|
{{if $elem.label == $mvt_modif.inputNature}}
|
||||||
{{:assign type_defaut=$rang}}
|
{{:assign type_defaut=$rang}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{:assign rang="%d+1"|math:$rang}}
|
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
|
|
||||||
{{* récupérer les infos du matériel associé *}}
|
{{* récupérer les infos du matériel associé *}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue