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:
Kendrick Chan 2018-09-14 06:59:50 +00:00
commit a7fa81e902

View file

@ -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 = [];