From f0b5044b65b52e2c3209635102960b336db3fce8 Mon Sep 17 00:00:00 2001 From: Pako Date: Wed, 5 Mar 2025 14:14:26 +0100 Subject: [PATCH] fix: shipment --- db/routines/vn/procedures/item_getBalance.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/routines/vn/procedures/item_getBalance.sql b/db/routines/vn/procedures/item_getBalance.sql index 4b8d121697..d6dd337c95 100644 --- a/db/routines/vn/procedures/item_getBalance.sql +++ b/db/routines/vn/procedures/item_getBalance.sql @@ -130,7 +130,7 @@ BEGIN ) SELECT 'ticket', s.ticketFk, - util.dayEnd(s.shipped), + s.shipped, NULL `in`, s.quantity, s.alertLevel, @@ -155,7 +155,7 @@ BEGIN orders AS ( SELECT 'order' originType, o.id originId, - r.shipment, + util.dayEnd(r.shipment), NULL 'in', r.amount, NULL alertLevel,