Skip to content
Snippets Groups Projects
Commit cc70e6da authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Transformation des retours chariot en <br/> dans le corps du mail contrat.

parent ab9b3159
No related branches found
No related tags found
No related merge requests found
......@@ -350,6 +350,8 @@ class ContratController extends AbstractController
if (!empty($contrat->getIntervenant()->getEmail())) {
//Utilisation ici du parametre email
$html = $this->getServiceParametres()->get('contrat_modele_mail');
//Ajout pour transformer les sauts de lignes en html <br/>
$html = nl2br($html);
//Personnalisation des variables
$vIntervenant = $contrat->getIntervenant()->getCivilite()->getLibelleCourt() . " ". $contrat->getIntervenant()->getNomUsuel();
$vUtilisateur = $this->getServiceContext()->getUtilisateur()->getDisplayName();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment