Add Inventory Report
This commit is contained in:
@@ -77,6 +77,8 @@ type InventoryReportSummaryResponse struct {
|
||||
LowStockIngredients int `json:"low_stock_ingredients"`
|
||||
ZeroStockProducts int `json:"zero_stock_products"`
|
||||
ZeroStockIngredients int `json:"zero_stock_ingredients"`
|
||||
TotalSoldProducts float64 `json:"total_sold_products"`
|
||||
TotalSoldIngredients float64 `json:"total_sold_ingredients"`
|
||||
OutletID string `json:"outlet_id"`
|
||||
OutletName string `json:"outlet_name"`
|
||||
GeneratedAt string `json:"generated_at"`
|
||||
@@ -97,6 +99,7 @@ type InventoryProductDetailResponse struct {
|
||||
ReorderLevel int `json:"reorder_level"`
|
||||
UnitCost float64 `json:"unit_cost"`
|
||||
TotalValue float64 `json:"total_value"`
|
||||
TotalSold float64 `json:"total_sold"`
|
||||
IsLowStock bool `json:"is_low_stock"`
|
||||
IsZeroStock bool `json:"is_zero_stock"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
@@ -111,6 +114,7 @@ type InventoryIngredientDetailResponse struct {
|
||||
ReorderLevel int `json:"reorder_level"`
|
||||
UnitCost float64 `json:"unit_cost"`
|
||||
TotalValue float64 `json:"total_value"`
|
||||
TotalSold float64 `json:"total_sold"`
|
||||
IsLowStock bool `json:"is_low_stock"`
|
||||
IsZeroStock bool `json:"is_zero_stock"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
|
||||
Reference in New Issue
Block a user