Fix issue when fulfiling a JO in admin panel. #632

This commit is contained in:
Korina Cordero 2021-11-03 07:02:26 +00:00
parent 4ce09e9671
commit 12c85e5cbb

View file

@ -1045,10 +1045,10 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
}
}
$obj->fulfill();
if (empty($error_array))
{
$obj->fulfill();
// the event
$event = new JOEvent();
$event->setDateHappen(new DateTime())
@ -1134,6 +1134,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
if (!empty($phone_number))
$this->sendSMSToCustomer($phone_number);
}
return $error_array;
}
// cancel job order