Amélioration navigation inventaire prop/non

This commit is contained in:
Jean-Christophe Engel 2024-11-18 12:22:23 +01:00
parent c20be00ea4
commit 6757757f63
5 changed files with 29 additions and 23 deletions

View file

@ -83,10 +83,11 @@
{{: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"}}
{{:redirect force="../inventaire_nonprop.html?ok=1&msg=%s"|args:$msg}}
{{:assign prop=0}}
{{else}}
{{:redirect force="../index.html?ok=1&msg=%s"|args:$msg}}
{{:assign prop=1}}
{{/if}}
{{:redirect force="../index.html?prop=%s&ok=1&msg=%s"|args:$prop:$msg}}
{{else}}
{{:form_errors}}
{{/form}}