corrections in stockrequest table
This commit is contained in:
@@ -22,6 +22,7 @@ type OrderService interface {
|
||||
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)
|
||||
GetTimeSeries(tenantID, locationID int, granularity, fromDate, toDate string) ([]models.TimeSeriesData, error)
|
||||
}
|
||||
|
||||
type orderService struct {
|
||||
@@ -96,3 +97,7 @@ func (s *orderService) GetSalesSummary(tid, lid int, fdate, tdate string) (*mode
|
||||
return s.repo.GetSalesSummary(tid, lid, fdate, tdate)
|
||||
}
|
||||
|
||||
func (s *orderService) GetTimeSeries(tenantID, locationID int, granularity, fromDate, toDate string) ([]models.TimeSeriesData, error) {
|
||||
return s.repo.GetTimeSeries(tenantID, locationID, granularity, fromDate, toDate)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user