mirror of
https://git.roflcopter.fr/lesanges/equipment.git
synced 2025-05-24 15:51:41 +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}}
|
||||
|
||||
{{* 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…
Add table
Reference in a new issue