Add fix for rider being unavailable after completing a JO. #424

This commit is contained in:
Korina Cordero 2020-06-23 09:54:50 +00:00
parent 0f5bf2e8d6
commit 5822ea84a6

View file

@ -1416,7 +1416,9 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface
// set jo status to fulfilled
$jo->setStatus(JOStatus::FULFILLED);
*/
$jo->fulfill();
//$jo->fulfill();
$jo->setStatus(JOStatus::FULFILLED)
->setDateFulfill(new DateTime());
// add event log
$rider = $this->session->getRider();