Mutualisation suppression mouvement

This commit is contained in:
Jean-Christophe Engel 2023-10-27 10:47:59 +02:00
parent db36bce5fa
commit e3b33231a7
3 changed files with 110 additions and 8 deletions

View file

@ -17,7 +17,7 @@
</form>
{{* lister les sorties *}}
<section class="liste_entrees">
<section class="liste_sorties">
<h2>Liste des sorties</h2>
{{#list select="$$.date AS 'Date' ; $$.outputNature AS 'Type' ; $$.amount AS 'Nombre' ; "" AS 'Matériel' ; $$.comment AS 'Remarques'" type="movement" direction="sortie" order=1}}
{{:assign var='mvt_key' value=$key}}
@ -29,7 +29,15 @@
<td>{{$designation}}</td>
<td>{{$comment}}</td>
<td class="actions">
{{*
{{:linkbutton label="Supprimer" href="delete_sortie.html?key=%s"|args:$mvt_key shape="delete" target="_dialog"}}
*}}
{{:linkbutton
label="Supprimer"
href="../delete_movement.html?key=%s&mvt=sortie&caller=%s"|args:$mvt_key:$request_url
shape="delete"
target="_dialog"}}
</td>
</tr>
{{/load}}