Merge branch '110-ios-additional-fixes-for-new-services' into 'master'
Resolve "iOS additional fixes for new services" Closes #110 See merge request jankstudio/resq!95
This commit is contained in:
commit
dcebb71174
1 changed files with 3 additions and 0 deletions
|
|
@ -1034,6 +1034,7 @@ class APIController extends Controller
|
||||||
$res->setData([
|
$res->setData([
|
||||||
'status' => APIRiderStatus::OUTLET_ASSIGN,
|
'status' => APIRiderStatus::OUTLET_ASSIGN,
|
||||||
'jo_id' => $jo->getID(),
|
'jo_id' => $jo->getID(),
|
||||||
|
'service_type' => $jo->getServiceType(),
|
||||||
'destination' => [
|
'destination' => [
|
||||||
'long' => $dest->getLongitude(),
|
'long' => $dest->getLongitude(),
|
||||||
'lat' => $dest->getLatitude(),
|
'lat' => $dest->getLatitude(),
|
||||||
|
|
@ -1044,6 +1045,7 @@ class APIController extends Controller
|
||||||
$res->setData([
|
$res->setData([
|
||||||
'status' => APIRiderStatus::RIDER_ASSIGN,
|
'status' => APIRiderStatus::RIDER_ASSIGN,
|
||||||
'jo_id' => $jo->getID(),
|
'jo_id' => $jo->getID(),
|
||||||
|
'service_type' => $jo->getServiceType(),
|
||||||
'destination' => [
|
'destination' => [
|
||||||
'long' => $dest->getLongitude(),
|
'long' => $dest->getLongitude(),
|
||||||
'lat' => $dest->getLatitude(),
|
'lat' => $dest->getLatitude(),
|
||||||
|
|
@ -1060,6 +1062,7 @@ class APIController extends Controller
|
||||||
$res->setData([
|
$res->setData([
|
||||||
'status' => APIRiderStatus::RIDER_PICK_UP,
|
'status' => APIRiderStatus::RIDER_PICK_UP,
|
||||||
'jo_id' => $jo->getID(),
|
'jo_id' => $jo->getID(),
|
||||||
|
'service_type' => $jo->getServiceType(),
|
||||||
'destination' => [
|
'destination' => [
|
||||||
'long' => $dest->getLongitude(),
|
'long' => $dest->getLongitude(),
|
||||||
'lat' => $dest->getLatitude(),
|
'lat' => $dest->getLatitude(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue