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

@@ -139,7 +139,7 @@ class OrderRepositoryQuery extends AbstractRepositoryQuery

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

return $this;

Loading…
Cancel
Save