Limit rider time report to anything above september 5 #162
This commit is contained in:
parent
9efb6ae20f
commit
7382b4333c
1 changed files with 3 additions and 1 deletions
|
|
@ -38,7 +38,9 @@ class ReportRiderTime extends Command
|
|||
|
||||
protected function populateJOIndex()
|
||||
{
|
||||
$jo_events = $this->em->getRepository(JOEvent::class)->findAll();
|
||||
$jo_events = $this->em->createQuery("select e from App\Entity\JOEvent e where e.date_create >= '20180905'")
|
||||
->getResult();
|
||||
// $jo_events = $this->em->getRepository(JOEvent::class)->findBy('date_create' => '20180905');
|
||||
|
||||
$this->jo_index = [];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue