Commit da207757 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Affichage du grade et de la discipline sur la fiche de l'intervenant (#39603)

parent 90590600
......@@ -75,6 +75,8 @@ class IntervenantViewHelper extends AbstractHtmlElement
"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>',
"Grade" => $entity->getGrade() ?: '<span class="inconnu">(Inconnue)</span>',
"Discipline" => (!empty($entity->getDiscipline()) && $entity->getDiscipline() != '00 Non renseignée') ? $entity->getDiscipline() : '<span class="inconnu">(Inconnue)</span>',
"Modifié le" => $entity->getHistoModification()->format(Constants::DATE_FORMAT),
],
'divers' => [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment