Réorganisation module

This commit is contained in:
Jean-Christophe Engel 2024-10-28 09:53:29 +01:00
parent 84fb29c15d
commit 553cbdf978
21 changed files with 718 additions and 201 deletions

View file

@ -1,5 +1,11 @@
{{* -*- brindille -*- *}}
{{*
paramètres :
- key : clé du mouvement à modifier
- prop : = 1 si matériel propriété
*}}
{{:admin_header title="Sortie de matériel" current="module_equipment"}}
{{if ! $dialog}}
@ -100,7 +106,8 @@
date=$_POST.date|parse_date
comment=$_POST.remarques|trim
}}
{{:redirect force="index.html?ok=1&msg=sortie"}}
{{*:redirect force="index.html?ok=1&msg=sortie"*}}
{{:redirect force="../../historique.html?ok=1&key=%s&prop=%s&msg=sortie"|args:$_POST.equipment:$_GET.prop}}
{{else}}
{{:form_errors}}
{{/form}}