Commit 51e41462 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Correction requete remonté agent de structures : les grades ont pas toujours de date de debut

parent 24f8763f
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Application/src/Application/Service/Agent/AgentService.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -304,7 +304,7 @@ class AgentService {
            ->addSelect('gcorrespondance')->leftjoin('grade.bap', 'gcorrespondance')
            ->addSelect('gcorps')->leftjoin('grade.corps', 'gcorps')
            ->andWhere('grade.dateFin >= :today OR grade.dateFin IS NULL')
            ->andWhere('grade.dateDebut <= :today')
            ->andWhere('grade.dateDebut <= :today OR grade.dateDebut IS NULL')
            //FICHE DE POSTE
            ->addSelect('ficheposte')->leftJoin('agent.fiches', 'ficheposte')