Commit 3f7a2fea authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Refactor affichage code rh dans viewhelper intervenant

parent 2df43e29
Loading
Loading
Loading
Loading
+2 −1
Changes for module/Application/src/Application/View/Helper/Intervenant/IntervenantViewHelper.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -72,7 +72,8 @@ class IntervenantViewHelper extends AbstractHtmlElement
            'metier'      => [
                "Type d'intervenant"        => $entity->getStatut()->getTypeIntervenant(),
                "Statut de l'intervenant"   => $entity->getStatut(),
                "N° RH"                   => (($entity->getCodeRh()) ? $entity->getCodeRh() : $entity->getCode()) . (($entity->getSource()->getLibelle() == 'Octopus') ? " <i>(N° Octopus " . $entity->getCode() . ")</i>" : ''),
                "N° {$entity->getSource()}" => $entity->getCode(),
                "N° RH"                     => ($entity->getCodeRh()) ? $entity->getCodeRh() : '<span class="inconnu">(Inconnue)</span>',
                "Affectation principale"    => $entity->getStructure() ?: '<span class="inconnu">(Inconnue)</span>',
            ],
            'divers'      => [