Compare commits
1 Commits
42210d2c9a
...
1afb2b3981
Author | SHA1 | Date | |
---|---|---|---|
1afb2b3981 |
14
mouvements/entrees/_temporaire.html
Normal file
14
mouvements/entrees/_temporaire.html
Normal file
@ -0,0 +1,14 @@
|
||||
{{* -*- brindille -*- *}}
|
||||
|
||||
{{* déterminer la quantité des matériels sortis temporairement *}}
|
||||
{{#foreach from=$cumul_mvt key="cat_key" item="cat_elem"}}
|
||||
{{#foreach from=$cat_elem.eqpmt key="eqpmt_key" item="eqpmt"}}
|
||||
{{:assign quantite=$eqpmt.exterieur}}
|
||||
{{if $quantite != 0}}
|
||||
{{:assign
|
||||
var="temporaire.%s.%s"|args:$cat_elem.name:$eqpmt_key
|
||||
value="%s (quantité : %d)"|args:$eqpmt.name:$quantite
|
||||
}}
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
{{/foreach}}
|
14
mouvements/sorties/_temporaire.html
Normal file
14
mouvements/sorties/_temporaire.html
Normal file
@ -0,0 +1,14 @@
|
||||
{{* -*- brindille -*- *}}
|
||||
|
||||
{{* calculer les quantité de matériels dont l'asso n'est pas propriétaire *}}
|
||||
{{#foreach from=$cumul_mvt key="cat_key" item="cat_elem"}}
|
||||
{{#foreach from=$cat_elem.eqpmt key="eqpmt_key" item="eqpmt"}}
|
||||
{{:assign quantite="%d-%d"|math:$eqpmt.nonproprio:$eqpmt.retour}}
|
||||
{{if $quantite != 0}}
|
||||
{{:assign
|
||||
var="temporaire.%s.%s"|args:$cat_elem.name:$eqpmt_key
|
||||
value="%s (quantité : %d)"|args:$eqpmt.name:$quantite
|
||||
}}
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
{{/foreach}}
|
Loading…
Reference in New Issue
Block a user