|
|
|
|
|
|
|
|
'restaurant_token' => $this->restaurant_token, |
|
|
'restaurant_token' => $this->restaurant_token, |
|
|
'dateFrom' => date('Y-m-d H-i-s', strtotime($date)), |
|
|
'dateFrom' => date('Y-m-d H-i-s', strtotime($date)), |
|
|
'dateTo' => date('Y-m-d H-i-s', strtotime($date) + 24 * 60 * 60 - 1), |
|
|
'dateTo' => date('Y-m-d H-i-s', strtotime($date) + 24 * 60 * 60 - 1), |
|
|
'status' => 'CLOSED', |
|
|
|
|
|
|
|
|
'status' => 'IN_PROGRESS', |
|
|
])->get($this->url_api . 'orders'); |
|
|
])->get($this->url_api . 'orders'); |
|
|
|
|
|
|
|
|
return json_decode($orders); |
|
|
return json_decode($orders); |