diff --git a/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php b/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php index f42de85..fdb7225 100644 --- a/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php +++ b/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php @@ -88,7 +88,7 @@ class CareCertificatePdfHandler extends FPDF { $this->SetFont('ComicSans', '', 14); $this->MultiCell(0,7, FileExportHelpers::FormatTextForExport('Employé(e) au sein de notre société et titulaire du diplôme national de Thanatopracteur, a effectué des soins de conservation sur le corps du défunt :')); $this->SetFont('ComicSans', 'B', 14); - $this->Cell(0,12, 'Mr/Mme '.$this->devisOfDefunt['defunt_nom'],0,1); + $this->Cell(0,12, 'Mr/Mme '.FileExportHelpers::FormatTextForExport($this->devisOfDefunt['defunt_nom']),0,1); $this->SetFont('ComicSans', '', 14); $this->Cell(0,12, FileExportHelpers::FormatTextForExport("Qui reposait à l'adresse suivante") . ' : ',0,1); $this->SetFont('ComicSans', 'B', 14); diff --git a/gestion/lib/Service/Certificate/PdfHandler/PacemakerCertificatePdfHandler.php b/gestion/lib/Service/Certificate/PdfHandler/PacemakerCertificatePdfHandler.php index a301982..8c06ff1 100644 --- a/gestion/lib/Service/Certificate/PdfHandler/PacemakerCertificatePdfHandler.php +++ b/gestion/lib/Service/Certificate/PdfHandler/PacemakerCertificatePdfHandler.php @@ -87,7 +87,7 @@ class PacemakerCertificatePdfHandler extends FPDF { $this->SetFont('ComicSans', '', 14); $this->MultiCell(0,7, FileExportHelpers::FormatTextForExport('Employé(e) au sein de notre société et titulaire du diplôme national de Thanatopracteur, a retiré ce jour, la prothèse fonctionnant à pile implantée sur le corps du défunt :')); $this->SetFont('ComicSans', 'B', 14); - $this->Cell(0,12, 'Mr/Mme '.$this->devisOfDefunt['defunt_nom'],0,1); + $this->Cell(0,12, 'Mr/Mme '.FileExportHelpers::FormatTextForExport($this->devisOfDefunt['defunt_nom']),0,1); $this->SetFont('ComicSans', '', 14); $this->Cell(0,12, FileExportHelpers::FormatTextForExport("Qui reposait à l'adresse suivante") . ' : ',0,1); $this->SetFont('ComicSans', 'B', 14);