Browse Source

OrderRepositoryQuery : modification méthode isPassed() pour inclure la journée courante

develop
Guillaume Bourgeois 1 day ago
parent
commit
fdab7db575
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      domain/Order/Order/OrderRepositoryQuery.php

+ 1
- 1
domain/Order/Order/OrderRepositoryQuery.php View File



public function filterIsPassed(): self public function filterIsPassed(): self
{ {
$this->andWhere('distribution.date < :date_today')
$this->andWhere('distribution.date <= :date_today')
->addParams([':date_today' => date('Y-m-d')]); ->addParams([':date_today' => date('Y-m-d')]);


return $this; return $this;

Loading…
Cancel
Save