addd inventory movement

This commit is contained in:
Aditya Siregar
2025-08-14 01:00:36 +07:00
parent 3a0c262c77
commit 07b3eda263
4 changed files with 59 additions and 26 deletions
+4 -2
View File
@@ -247,7 +247,8 @@ func (s *InventoryServiceImpl) GetInventoryReportDetails(ctx context.Context, fi
ReorderLevel: product.ReorderLevel,
UnitCost: product.UnitCost,
TotalValue: product.TotalValue,
TotalSold: product.TotalSold,
TotalIn: product.TotalIn,
TotalOut: product.TotalOut,
IsLowStock: product.IsLowStock,
IsZeroStock: product.IsZeroStock,
UpdatedAt: product.UpdatedAt.Format(time.RFC3339),
@@ -266,7 +267,8 @@ func (s *InventoryServiceImpl) GetInventoryReportDetails(ctx context.Context, fi
ReorderLevel: ingredient.ReorderLevel,
UnitCost: ingredient.UnitCost,
TotalValue: ingredient.TotalValue,
TotalSold: ingredient.TotalSold,
TotalIn: ingredient.TotalIn,
TotalOut: ingredient.TotalOut,
IsLowStock: ingredient.IsLowStock,
IsZeroStock: ingredient.IsZeroStock,
UpdatedAt: ingredient.UpdatedAt.Format(time.RFC3339),