Add Filter Sales Metric
This commit is contained in:
@@ -126,6 +126,7 @@ type OrderSearch struct {
|
||||
Offset int
|
||||
StartDate string
|
||||
EndDate string
|
||||
Period string
|
||||
}
|
||||
|
||||
type HistoryOrderList []*HistoryOrderDB
|
||||
@@ -180,7 +181,9 @@ func (e *TicketSoldDB) ToTicketSold() *TicketSold {
|
||||
}
|
||||
|
||||
type ProductDailySales struct {
|
||||
Day time.Time
|
||||
ProductID int64
|
||||
TotalQuantity int
|
||||
Day time.Time
|
||||
SiteID int64
|
||||
SiteName string
|
||||
PaymentType string
|
||||
Total float64
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user