Add Filter Sales Metric

This commit is contained in:
aditya.siregar
2024-08-02 14:41:41 +07:00
parent 4e4d9d3a90
commit eff502b24a
5 changed files with 47 additions and 16 deletions
+5 -3
View File
@@ -113,7 +113,9 @@ type CreateOrderItemResponse struct {
}
type ProductDailySales struct {
Day time.Time
ProductID int64
TotalQuantity int
Day time.Time `json:"day"`
SiteID int64 `json:"site_id"`
SiteName string `json:"site_name"`
PaymentType string `json:"payment_type"`
Total float64 `json:"total"`
}