feat: amount transaction and count of item
This commit is contained in:
@@ -21,6 +21,10 @@ type Order struct {
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type OrderAmount struct {
|
||||
Amount float64 `json:"amount"`
|
||||
}
|
||||
|
||||
type HistoryOrder struct {
|
||||
ID int64 `json:"id"`
|
||||
Employee string `json:"employee"`
|
||||
@@ -58,6 +62,10 @@ type HistoryOrderList struct {
|
||||
Offset int `json:"offset"`
|
||||
}
|
||||
|
||||
type TicketSold struct {
|
||||
Count int64 `json:"count"`
|
||||
}
|
||||
|
||||
type OrderMonthlyRevenue struct {
|
||||
TotalRevenue float64 `json:"total_revenue"`
|
||||
TotalTransaction int64 `json:"total_transaction"`
|
||||
|
||||
Reference in New Issue
Block a user