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