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
@@ -99,7 +99,8 @@ type InventoryProductDetailResponse struct {
ReorderLevel int `json:"reorder_level"`
UnitCost float64 `json:"unit_cost"`
TotalValue float64 `json:"total_value"`
TotalSold float64 `json:"total_sold"`
TotalIn float64 `json:"total_in"`
TotalOut float64 `json:"total_out"`
IsLowStock bool `json:"is_low_stock"`
IsZeroStock bool `json:"is_zero_stock"`
UpdatedAt string `json:"updated_at"`
@@ -114,7 +115,8 @@ type InventoryIngredientDetailResponse struct {
ReorderLevel int `json:"reorder_level"`
UnitCost float64 `json:"unit_cost"`
TotalValue float64 `json:"total_value"`
TotalSold float64 `json:"total_sold"`
TotalIn float64 `json:"total_in"`
TotalOut float64 `json:"total_out"`
IsLowStock bool `json:"is_low_stock"`
IsZeroStock bool `json:"is_zero_stock"`
UpdatedAt string `json:"updated_at"`