From 231f7c572be36b1eac084d13a1988f7546799532 Mon Sep 17 00:00:00 2001 From: Tiavina Date: Wed, 5 Feb 2025 09:25:49 +0300 Subject: [PATCH] certificate defunt name encode --- .../Certificate/PdfHandler/CareCertificatePdfHandler.php | 2 +- .../Certificate/PdfHandler/PacemakerCertificatePdfHandler.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);