Ver código fonte

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

develop
Guillaume Bourgeois 1 dia atrás
pai
commit
fdab7db575
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      domain/Order/Order/OrderRepositoryQuery.php

+ 1
- 1
domain/Order/Order/OrderRepositoryQuery.php Ver arquivo

@@ -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;

Carregando…
Cancelar
Salvar