add link to household or household editor

This commit is contained in:
2021-06-10 15:17:15 +02:00
parent 3e39dd9a1e
commit 38c06977ca
8 changed files with 128 additions and 9 deletions

View File

@@ -102,8 +102,7 @@ class Household
{
$criteria = new Criteria();
$expr = Criteria::expr();
$date = $now === null ? (new \DateTimeImmutable('now')) : $now;
$date = $now === null ? (new \DateTimeImmutable('today')) : $now;
$criteria
->where($expr->orX(
@@ -135,7 +134,7 @@ class Household
{
$criteria = new Criteria();
$expr = Criteria::expr();
$date = $now === null ? (new \DateTimeImmutable('now')) : $now;
$date = $now === null ? (new \DateTimeImmutable('today')) : $now;
$criteria
->where(