mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-04 20:39:40 +00:00
Apply 3 suggestion(s) to 3 file(s)
This commit is contained in:
@@ -17,11 +17,11 @@ final readonly class AccompanyingCourseExportHelper
|
||||
{
|
||||
public static function addClosingMotiveExclusionClause(QueryBuilder $qb): QueryBuilder
|
||||
{
|
||||
$qb->leftJoin('acp.closingMotive', 'cm')
|
||||
$qb->leftJoin('acp.closingMotive', 'acpmotive')
|
||||
->andWhere(
|
||||
$qb->expr()->orX(
|
||||
$qb->expr()->eq('cm.isCanceledAccompanyingPeriod', 'false'),
|
||||
$qb->expr()->isNull('acp.closingMotive')
|
||||
$qb->expr()->eq('acpmotive.isCanceledAccompanyingPeriod', 'false'),
|
||||
$qb->expr()->isNull('acpmotive.closingMotive')
|
||||
)
|
||||
);
|
||||
|
||||
|
@@ -53,4 +53,3 @@ services:
|
||||
tags:
|
||||
- { name: chill.export_formatter, alias: 'csv_pivoted_list' }
|
||||
|
||||
Chill\MainBundle\Export\AccompanyingCourseExportHelper: ~
|
||||
|
Reference in New Issue
Block a user