Fix comment for checking advance order #378
This commit is contained in:
parent
7aebe13d1f
commit
b7b38d138b
1 changed files with 1 additions and 1 deletions
|
|
@ -2324,7 +2324,7 @@ class APIController extends Controller implements LoggedController
|
|||
$date_end->add(new DateInterval('PT2H'));
|
||||
|
||||
// NOTE: get advance orders via query
|
||||
// get JOs assigned to hub that are advance orders and scheduled within 3 hours with
|
||||
// get JOs assigned to hub that are advance orders and scheduled within X hours with
|
||||
// for rider assignment status
|
||||
$query = $em->createQuery('select count(jo) from App\Entity\JobOrder jo where jo.hub = :hub and jo.flag_advance = true and jo.date_schedule <= :date_end and jo.status = :status');
|
||||
$count_advance_orders = $query->setParameters([
|
||||
|
|
|
|||
Loading…
Reference in a new issue