Gebe OTC-Produktstammdaten vollstaendig aus

This commit is contained in:
gitea_admin committed 2026-09-06 08:15:33 +02:00
1 parent 4ccc0c528f
commit 5fede22267
1 file changed
+2
+2
View File
@@ -25,6 +25,8 @@ function get_otc_order_form_products(PDO $pdo): array
"SELECT "SELECT
p.id, p.id,
p.name, p.name,
p.sku,
p.uom,
COALESCE(SUM(v.qty_net), 0) AS available_qty COALESCE(SUM(v.qty_net), 0) AS available_qty
FROM product p FROM product p
LEFT JOIN stock_lot sl LEFT JOIN stock_lot sl