Correction erreur navigation fin saisie

This commit is contained in:
Jean-Christophe Engel 2025-02-26 12:39:55 +01:00
parent 28abe5ce9e
commit 63abb4f573

View File

@ -79,15 +79,13 @@
comment=$_POST.remarques|trim
}}
{{:assign msg="Ajout de l'entrée « %s (%d) en date du %s » effectué"|args:$post_mat:$_POST.quantite:$_POST.date}}
{{:assign var=type_entree from="config.input_nature.%s"|args:$operation}}
{{if $type_entree == "temporaire"}}
{{:assign var=entree from="config.input_nature.%s"|args:$_POST.operation}}
{{if $entree.type == "temporaire"}}
{{:assign prop=0}}
{{else}}
{{:assign prop=1}}
{{/if}}
{{:redirect force="../index.html?prop=%s&ok=1&msg=ajout"|args:$prop:$msg}}
{{/form}}
{{:admin_header title="Entrée de matériel" current="module_equipment"}}