Add Daily Sales and Distributed Payment

This commit is contained in:
aditya.siregar
2024-08-02 15:16:28 +07:00
parent eff502b24a
commit 6a1dffa750
7 changed files with 101 additions and 1 deletions
+5
View File
@@ -119,3 +119,8 @@ type ProductDailySales struct {
PaymentType string `json:"payment_type"`
Total float64 `json:"total"`
}
type PaymentDistribution struct {
PaymentType string `json:"payment_type"`
Count int `json:"count"`
}