Resolve "Resq - message prompt for non-serviceable area" #1353

Merged
korina.cordero merged 176 commits from 463-resq-message-prompt-for-non-serviceable-area into 465-resq-august-13-release 2020-08-12 05:41:57 +00:00
Showing only changes of commit 16b136b0d3 - Show all commits

View file

@ -1911,6 +1911,7 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface
if (isset($data['error']))
{
$data['title'] = 'Failed Get Ongoing Job Order';
$data['job_order'] = null;
return $data;
}
@ -1919,7 +1920,8 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface
{
$data = [
'title' => 'Failed Get Ongoing Job Order',
'error' => 'No logged in rider.'
'error' => 'No logged in rider.',
'job_order' => null,
];
return $data;
}
@ -1932,7 +1934,8 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface
{
$data = [
'title' => 'Failed Get Ongoing Job Order',
'error' => 'No active job order.'
'error' => 'No active job order.',
'job_order' => null,
];
return $data;
}