From 248ca1d5228ffa480eb6c04495288759a6b7f2c5 Mon Sep 17 00:00:00 2001 From: giovanni Date: Thu, 5 Feb 2026 10:27:00 +0700 Subject: [PATCH] adjust query value notes --- internal/modules/closings/repositories/closing.repository.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/modules/closings/repositories/closing.repository.go b/internal/modules/closings/repositories/closing.repository.go index a4db4694..5fd6b7e9 100644 --- a/internal/modules/closings/repositories/closing.repository.go +++ b/internal/modules/closings/repositories/closing.repository.go @@ -522,7 +522,7 @@ SELECT std.usage_qty AS quantity, u.id AS unit_id, u.name AS unit, - 'Stock Refill' AS notes + st.reason AS notes FROM stock_transfer_details std JOIN stock_transfers st ON st.id = std.stock_transfer_id LEFT JOIN warehouses fw ON fw.id = st.from_warehouse_id @@ -622,7 +622,7 @@ SELECT std.usage_qty AS quantity, u.id AS unit_id, u.name AS unit, - 'Transfer to other unit' AS notes + st.reason AS notes FROM stock_transfer_details std JOIN stock_transfers st ON st.id = std.stock_transfer_id LEFT JOIN warehouses fw ON fw.id = st.from_warehouse_id