Merge branch '162-phase-2-changes' into 'master'
Limit rider time report to anything above september 5 #162 Closes #162 See merge request jankstudio/resq!190
This commit is contained in:
commit
a7fa81e902
1 changed files with 3 additions and 1 deletions
|
|
@ -38,7 +38,9 @@ class ReportRiderTime extends Command
|
||||||
|
|
||||||
protected function populateJOIndex()
|
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 = [];
|
$this->jo_index = [];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue