From 0d48d9999c776e3af2237a39b5bbfdbcf2fdc254 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Mon, 24 Feb 2025 14:54:14 +0100 Subject: [PATCH] Simplification mineure --- global_history.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/global_history.html b/global_history.html index 51b216b..717d8e8 100644 --- a/global_history.html +++ b/global_history.html @@ -12,6 +12,10 @@ {{* récupérer la config des entrées/sorties *}} {{:include file="./_get_config.html" keep="config"}} +
+

Historique des mouvements

+
+ {{* lister tous les mouvements *}} {{#list type="movement" @@ -19,8 +23,8 @@ CASE $$.direction WHEN 'input' THEN 'Entrée' WHEN 'output' THEN 'Sortie' END AS 'Mouvement'; $$.operation AS 'Opération'; (SELECT $$.name - FROM @TABLE AS b - WHERE b.key = @TABLE.$$.equipment) AS 'Matériel' ; + FROM @TABLE AS mat + WHERE mat.key = @TABLE.$$.equipment) AS 'Matériel' ; $$.amount AS 'Quantité'; $$.comment AS 'Commentaire'" order=1