From 170d72a54fdf23ff12e97b7ffce2c490d7fedbf3 Mon Sep 17 00:00:00 2001 From: narindraezway Date: Mon, 28 Apr 2025 15:30:30 +0300 Subject: [PATCH] [Certificate] Improve text formatting and fix typo in care certificate output --- .../Certificate/PdfHandler/CareCertificatePdfHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php b/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php index 0790d4c..f0310ae 100644 --- a/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php +++ b/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php @@ -87,13 +87,13 @@ class CareCertificatePdfHandler extends FPDF { $this->SetFont('Arial', '', 14); $this->MultiCell(0,7, FileExportHelpers::FormatTextForExport('Employé 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('Arial', '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('Arial', '', 14); $this->Cell(0,12, FileExportHelpers::FormatTextForExport("Qui reposait à l'adresse suivante") . ': ',0,1); $this->SetFont('Arial', 'B', 14); $this->Cell(0,12, FileExportHelpers::FormatTextForExport($this->devisOfDefunt['location_of_devis']),0,1); $this->SetFont('Arial', '', 14); - $this->Cell(0,12, FileExportHelpers::FormatTextForExport("La présente attestion est établie pour faire valoir ce que de droit."),0,5); + $this->Cell(0,12, FileExportHelpers::FormatTextForExport("La présente attestation est établie pour faire valoir ce que de droit."),0,5); $this->Ln(5); $this->Cell(0,12,FileExportHelpers::FormatTextForExport('Fait à '). FileExportHelpers::FormatTextForExport($this->devisOfDefunt['configuration']->adresse)); $this->SetX(150);