modification url et déplacement bouton créer nouveau matériel

This commit is contained in:
Jean-Christophe Engel 2024-10-29 10:24:50 +01:00
parent 9a11e55ad7
commit 5307a847b9
3 changed files with 14 additions and 13 deletions

View file

@ -99,35 +99,35 @@
{{if $direction === "input" && $type_mvt == 'temporaire'}}
{{:linkbutton
label="Retour"
href="mouvements/sorties/emprunte.html?key=%s&prop=%s"|args:$key:$_GET.prop
href="%smouvements/sorties/emprunte.html?key=%s&prop=%s"|args:$module.url:$key:$_GET.prop
shape="history"
target="_dialog"}}
{{elseif $direction === "input" && $type_mvt == 'définitif'}}
{{:linkbutton
label="Sortir"
href="mouvements/sorties/stock_disponible.html?key=%s&prop=%s"|args:$key:$_GET.prop
href="%smouvements/sorties/stock_disponible.html?key=%s&prop=%s"|args:$module.url:$key:$_GET.prop
shape="minus"
target="_dialog"}}
{{elseif $direction === "output" && $type_mvt == 'temporaire'}}
{{:linkbutton
label="Retour"
href="mouvements/entrees/retour.html?key=%s&prop=%s"|args:$key:$_GET.prop
href="%smouvements/entrees/retour.html?key=%s&prop=%s"|args:$module.url:$key:$_GET.prop
shape="history"
target="_dialog"}}
{{/if}}
{{:linkbutton
label="Dupliquer"
href="mouvements/dupliquer_mouvement.html?key=%s&direction=%s&prop=%s"|args:$key:$direction:$_GET.prop
href="%smouvements/dupliquer_mouvement.html?key=%s&direction=%s&prop=%s"|args:$module.url:$key:$direction:$_GET.prop
shape="plus"
target="_dialog"}}
{{:linkbutton
label="Modifier"
href="mouvements/modifier_mouvement.html?key=%s&direction=%s&prop=%s"|args:$key:$direction:$_GET.prop
href="%smouvements/modifier_mouvement.html?key=%s&direction=%s&prop=%s"|args:$module.url:$key:$direction:$_GET.prop
shape="edit"
target="_dialog"}}
{{:linkbutton
label="Supprimer"
href="mouvements/supprimer_mouvement.html?key=%s&direction=%s&prop=%s"|args:$key:$direction:$_GET.prop
href="%smouvements/supprimer_mouvement.html?key=%s&direction=%s&prop=%s"|args:$module.url:$key:$direction:$_GET.prop
shape="delete"
target="_dialog"}}
</td>