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

Bug macro

parent be3da9ab
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Application/src/Application/Entity/Db/MacroContent/AgentMacroTrait.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ trait AgentMacroTrait
        $texte  = "<ul>";
        foreach ($grades as $grade) {
            $texte .= "<li>";
            $texte .= $grade->getCorps()->getLibelleLong() . " ".$grade->getBap()->getCategorie();
            $texte .= $grade->getCorps()->getLibelleLong() . " ".($grade->getBap())?$grade->getBap()->getCategorie():"";
            $texte .= " (";
            if($grade->getDateFin()) {
                $texte .= "du " . $grade->getDateDebut()->format('d/m/Y') . " au " . $grade->getDateFin()->format('d/m/Y');