Merge branch '178-fix-bug-with-rider-assignment' into 'master'

Fix check on rider assign to check for RIDER_ASSIGN status instead of ASSIGNED #178

Closes #178

See merge request jankstudio/resq!213
This commit is contained in:
Kendrick Chan 2019-01-30 16:34:06 +00:00
commit 4b9853d477

View file

@ -736,7 +736,7 @@ class JobOrder
public function canAssign()
{
if ($this->status == JOStatus::ASSIGNED)
if ($this->status == JOStatus::RIDER_ASSIGN)
return true;
return false;