Distinguer matériel de stock nul et matériel non présent

This commit is contained in:
Jean-Christophe Engel 2025-04-04 11:07:41 +02:00
parent f8e5d43888
commit c681b47e7f
5 changed files with 58 additions and 24 deletions

View file

@ -48,7 +48,7 @@
(SELECT $$.stock - $$.out) AS 'Disponible'
"
type="equipment"
where="$$.status <> 'archived' AND $$.stock != 0 AND %s"|args:$condition
where="$$.status <> 'archived' AND $$.stock NOT NULL AND %s"|args:$condition
order=1
}}
{{:assign var=cat_name from=categories.%s|args:$category}}