Resolve "Open Scheduling" #1535

Merged
korina.cordero merged 5 commits from 611-open-scheduling into master-fix 2021-08-10 07:20:24 +00:00
Showing only changes of commit 18852941a7 - Show all commits

View file

@ -2912,7 +2912,7 @@ class APIController extends Controller implements LoggedController
{ {
// TODO: log hub as cannot be auto rider assigned somewhere // TODO: log hub as cannot be auto rider assigned somewhere
// assign hub // assign hub
error_log('Rider cannot be auto assigned ' . $nearest_hub['hub']->getID()); // error_log('Rider cannot be auto assigned ' . $nearest_hub['hub']->getID());
$jo->setHub($nearest_hub['hub']); $jo->setHub($nearest_hub['hub']);
$jo->setStatus(JOStatus::RIDER_ASSIGN); $jo->setStatus(JOStatus::RIDER_ASSIGN);
$jo->setStatusAutoAssign(AutoAssignStatus::HUB_ASSIGNED); $jo->setStatusAutoAssign(AutoAssignStatus::HUB_ASSIGNED);