mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
Merge remote-tracking branch 'origin/master' into upgrade-sf5
This commit is contained in:
@@ -85,11 +85,11 @@ final readonly class AccompanyingPeriodWorkEndDateBetweenDateFilter implements F
|
||||
};
|
||||
$end = match ($data['keep_null']) {
|
||||
true => $qb->expr()->orX(
|
||||
$qb->expr()->gt('acpw.endDate', ':'.$as),
|
||||
$qb->expr()->gt('COALESCE(acp.closingDate, acpw.endDate)', ':'.$as),
|
||||
$qb->expr()->isNull('acpw.endDate')
|
||||
),
|
||||
false => $qb->expr()->andX(
|
||||
$qb->expr()->gt('acpw.endDate', ':'.$as),
|
||||
$qb->expr()->gt('COALESCE(acp.closingDate, acpw.endDate)', ':'.$as),
|
||||
$qb->expr()->isNotNull('acpw.endDate')
|
||||
),
|
||||
default => throw new \LogicException('This value is not supported'),
|
||||
|
Reference in New Issue
Block a user