Commit b4998992 authored by Florian Joriot's avatar Florian Joriot
Browse files

Ajout de l'email perso dans le bloc de coordonnées

parent b918769d
Loading
Loading
Loading
Loading
Loading
+2 −1
Changes for module/Intervenant/src/View/Helper/IntervenantViewHelper.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -79,7 +79,8 @@ class IntervenantViewHelper extends AbstractHtmlElement
                //"Date de naissance" => (string)$entity->getDateNaissance()->format(Constants::DATE_FORMAT),
            ],
            'coordonnees'  => [
                "Email"           => $entity->getEmailPro() ?: '<span class="inconnu">(Inconnu)</span>',
                "Email perso"     => $entity->getEmailPerso() ?: '<span class="inconnu">(Inconnu)</span>',
                "Email pro"       => $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) ?? ''),