Commit 8bdae2b9 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Masquage informations fiche intervenant (adresse, tel, email, date de...

Masquage informations fiche intervenant (adresse, tel, email, date de naissance) + ajout date modification fiche intervenant.
parent c2889f22
Loading
Loading
Loading
Loading
+5 −4
Changes for module/Application/src/Application/View/Helper/Intervenant/IntervenantViewHelper.php: 5 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -59,22 +59,23 @@ class IntervenantViewHelper extends AbstractHtmlElement

        $vars = [
            'identite' => [
                "NOM prénom"        => $entity,
                "Civilité"   => (string)$entity->getCivilite(),
                "Date de naissance" => (string)$entity->getDateNaissance()->format(Constants::DATE_FORMAT),
                "NOM prénom" => $entity,
                //"Date de naissance" => (string)$entity->getDateNaissance()->format(Constants::DATE_FORMAT),
            ],
            'coordonnees' => [
            /*'coordonnees' => [
                "Email"           => $entity->getEmailPro() ?: '<span class="inconnu">(Inconnu)</span>',
                "Téléphone perso" => $entity->getTelPerso() ?: '<span class="inconnu">(Inconnu)</span>',
                "Téléphone pro"   => $entity->getTelPro() ?: '<span class="inconnu">(Inconnu)</span>',
                "Adresse"         => nl2br($entity->getAdresse(false)),
            ],
            ],*/
            'metier'   => [
                "Type d'intervenant"        => $entity->getStatut()->getTypeIntervenant(),
                "Statut de l'intervenant"   => $entity->getStatut(),
                "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>',
                "Modifié le"                => $entity->getHistoModification()->format(Constants::DATE_FORMAT),
            ],
            'divers'   => [
                "Id" => $entity->getId(),