Commit 7c8712ba authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Correction remonté des agents pas assez ancient

parent 6d7bd2ce
Loading
Loading
Loading
Loading
+3 −1
Changes for module/Structure/view/structure/structure/partial/campagne.phtml: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -48,7 +48,9 @@ foreach ($agents as $agent) {
    }

    if ($entretien === null) {
        if ($agent->isContratLong()) {
        $date = new DateTime();
        $date = $date->sub(new DateInterval('P6M'));
        if ($agent->isContratLong() AND !empty($agent->getAffectationsActifs($date))) {
            $sans[$agent->getDenomination()] = $agent;
        } else {
            $facultatifs[$agent->getDenomination()] = $agent;