Fix issue when fulfiling a JO in admin panel. #632
This commit is contained in:
parent
4ce09e9671
commit
12c85e5cbb
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue