Add in transit to list of pending jos for ios app #133
This commit is contained in:
parent
fbe6c42e50
commit
bee2d83605
1 changed files with 1 additions and 1 deletions
|
|
@ -1049,7 +1049,7 @@ class APIController extends Controller
|
|||
// check if we have an ongoing job order
|
||||
$ongoing_jos = $em->getRepository(JobOrder::class)->findBy([
|
||||
'customer' => $cust,
|
||||
'status' => [JOStatus::PENDING, JOStatus::RIDER_ASSIGN, JOStatus::ASSIGNED, JOStatus::IN_PROGRESS],
|
||||
'status' => [JOStatus::PENDING, JOStatus::RIDER_ASSIGN, JOStatus::IN_TRANSIT, JOStatus::ASSIGNED, JOStatus::IN_PROGRESS],
|
||||
]);
|
||||
if (count($ongoing_jos) <= 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue