Merge branch 'master' of gitlab.com:jankstudio/resq into 162-phase-2-changes
This commit is contained in:
commit
ff8e4090ae
1 changed files with 4 additions and 0 deletions
|
|
@ -1093,6 +1093,9 @@ class APIController extends Controller
|
|||
'customer' => $cust,
|
||||
'status' => [JOStatus::PENDING, JOStatus::RIDER_ASSIGN, JOStatus::IN_TRANSIT, JOStatus::ASSIGNED, JOStatus::IN_PROGRESS],
|
||||
]);
|
||||
|
||||
// $res->setData(['here' => count($ongoing_jos)]);
|
||||
// return $res->getReturnResponse();
|
||||
if (count($ongoing_jos) <= 0)
|
||||
{
|
||||
error_log('No pending jo');
|
||||
|
|
@ -1163,6 +1166,7 @@ class APIController extends Controller
|
|||
'lat' => $coord->getLatitude()
|
||||
]
|
||||
];
|
||||
$res->setData($data);
|
||||
return $res->getReturnResponse();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue