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

This commit is contained in:
Kendrick Chan 2019-01-31 00:32:09 +08:00
parent bca2de75b5
commit 407f7ad54a

View file

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