From b7b38d138b2099c5b6e956af8dfaba611ee03a7c Mon Sep 17 00:00:00 2001 From: Kendrick Chan Date: Wed, 15 Apr 2020 15:17:12 +0800 Subject: [PATCH] Fix comment for checking advance order #378 --- src/Controller/APIController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/APIController.php b/src/Controller/APIController.php index a0841841..eec92bf7 100644 --- a/src/Controller/APIController.php +++ b/src/Controller/APIController.php @@ -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([