inventaire : ajout tri par catégorie

This commit is contained in:
Jean-Christophe Engel 2025-02-20 11:58:57 +01:00
parent 7fd67d7d9d
commit 17052676df
2 changed files with 6 additions and 2 deletions

View File

@ -52,7 +52,9 @@
{{#list {{#list
select=" select="
$$.name AS 'Matériel' ; $$.name AS 'Matériel' ;
"" AS 'Catégorie' ; (SELECT $$.name
FROM @TABLE as cat
WHERE cat.key = @TABLE.$$.category) AS "Catégorie" ;
"" AS 'Stock' ; "" AS 'Stock' ;
"" AS 'Sorti' ; "" AS 'Sorti' ;
"" AS 'Dispo' "" AS 'Dispo'

View File

@ -52,7 +52,9 @@
{{#list {{#list
select=" select="
$$.name AS 'Matériel' ; $$.name AS 'Matériel' ;
"" AS 'Catégorie' ; (SELECT $$.name
FROM @TABLE as cat
WHERE cat.key = @TABLE.$$.category) AS "Catégorie" ;
"" AS 'Quantité' "" AS 'Quantité'
" "
type="equipment" type="equipment"