Réorganisation module
This commit is contained in:
parent
84fb29c15d
commit
553cbdf978
21 changed files with 718 additions and 201 deletions
|
|
@ -1,12 +1,14 @@
|
|||
{{* 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.designation:$quantite
|
||||
}}
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
{{* -*- 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.designation:$quantite
|
||||
}}
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
{{/foreach}}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
{{* -*- brindille -*- *}}
|
||||
|
||||
{{:admin_header title="Entrée de matériel" current="module_equipment"}}
|
||||
|
||||
{{* barre de navigation *}}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
{{* -*- brindille -*- *}}
|
||||
|
||||
{{*
|
||||
paramètres :
|
||||
- key : clé du mouvement à modifier
|
||||
- prop : = 1 si matériel propriété
|
||||
*}}
|
||||
|
||||
{{:admin_header title="Entrée de matériel" current="module_equipment"}}
|
||||
|
||||
{{* barre de navigation *}}
|
||||
|
|
@ -53,7 +61,8 @@
|
|||
comment=$_POST.remarques|trim
|
||||
}}
|
||||
|
||||
{{:redirect force="index.html?ok=1&msg=entrée"}}
|
||||
{{*:redirect force="index.html?ok=1&msg=entrée"*}}
|
||||
{{:redirect force="../../historique.html?ok=1&key=%s&prop=%s&msg=retour"|args:$_POST.equipment:$_GET.prop}}
|
||||
{{else}}
|
||||
{{:form_errors}}
|
||||
{{/form}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue