Bouton retour dans historique

This commit is contained in:
Jean-Christophe Engel 2025-03-06 13:27:37 +01:00
parent ea57338cb8
commit 95db394d7a
2 changed files with 158 additions and 3 deletions

View file

@ -42,6 +42,8 @@
<p class="block confirm">Modification enregistrée</p>
{{elseif $_GET.msg == "copie"}}
<p class="block confirm">Mouvement copié</p>
{{elseif $_GET.msg == "retour"}}
<p class="block confirm">Retour enregistré</p>
{{elseif $_GET.msg == "suppression"}}
<p class="block confirm">Mouvement supprimé</p>
{{/if}}
@ -126,7 +128,7 @@
"" as 'Stock';
"" as 'Sorti';
"" as 'Disponible';
$$.comment AS 'Commentaire'"
$$.comment AS 'Remarque'"
equipment=$equipment_key
order=1
}}
@ -150,7 +152,14 @@
<td>{{$comment}}</td>
<td class="actions">
{{if $current != "archives"}}
{{:linkbutton
{{if $direction == "output" && $type_mvt == "temporaire"}}
{{:linkbutton
label="Retour"
href="mouvements/return.html?key=%s&prop=%s"|args:$key:$_GET.prop
shape="history"
target="_dialog"}}
{{/if}}
{{:linkbutton
label="Dupliquer"
href="mouvements/dupliquer_mouvement.html?key=%s&prop=%s"|args:$key:$_GET.prop
shape="plus"
@ -179,7 +188,7 @@
$$.operation AS 'Opération';
$$.amount AS 'Quantité';
"" as 'Présent';
$$.comment AS 'Commentaire'"
$$.comment AS 'Remarque'"
equipment=$equipment_key
order=1
}}