stock request table created
This commit is contained in:
@@ -21,6 +21,7 @@ type OrderService interface {
|
||||
GetCustomerOrdersv3(customerID, tenantID, moduleID, fromDate, toDate, orderStatus, keyword string, pageSize, offset int) ([]models.CustomerOrder, error)
|
||||
GetTenantLocationOrders(input models.DeliveryQuery) ([]models.OrderInfo, error)
|
||||
GetRevenueSummary(tid, lid int, fdate, tdate string) (*models.TenantRevenueSummary, error)
|
||||
GetSalesSummary(tid, lid int, fdate, tdate string) (*models.SalesSummaryResponse, error)
|
||||
}
|
||||
|
||||
type orderService struct {
|
||||
@@ -91,3 +92,7 @@ func (s *orderService) GetRevenueSummary(tid, lid int, fdate, tdate string) (*mo
|
||||
return s.repo.GetRevenueSummary(tid, lid, fdate, tdate)
|
||||
}
|
||||
|
||||
func (s *orderService) GetSalesSummary(tid, lid int, fdate, tdate string) (*models.SalesSummaryResponse, error) {
|
||||
return s.repo.GetSalesSummary(tid, lid, fdate, tdate)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user