Adapted code style

This commit is contained in:
Bernd Bestel 2023-08-22 19:40:00 +02:00
parent d06603115d
commit 3f9cc211e5
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -1,4 +1,4 @@
DROP VIEW IF EXISTS "main"."stock_current";
DROP VIEW stock_current;
CREATE VIEW stock_current
AS
SELECT
@ -48,4 +48,4 @@ JOIN products p_sub
AND p_sub.active = 1
WHERE pr.parent_product_id != pr.sub_product_id
GROUP BY pr.sub_product_id
HAVING SUM(s.amount) > 0
HAVING SUM(s.amount) > 0;