From 2950fed4007a91bb161e7f928a7068e68cb75dd0 Mon Sep 17 00:00:00 2001 From: narindraezway Date: Wed, 30 Jul 2025 09:37:52 +0300 Subject: [PATCH] DV : Fix position tampon and signature --- .../Certificate/PdfHandler/CareCertificatePdfHandler.php | 4 ++-- .../Certificate/PdfHandler/PacemakerCertificatePdfHandler.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php b/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php index 0ce8255..814f687 100644 --- a/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php +++ b/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php @@ -73,7 +73,7 @@ class CareCertificatePdfHandler extends FPDF { } private function SetSigning(){ - $this->SetXY(140,$this->GetY() + 15); + $this->SetXY(140,$this->GetY() + 12); $this->Cell(0,10,'Cachet et signature'); if($this->tamponImageExist){ @@ -81,7 +81,7 @@ class CareCertificatePdfHandler extends FPDF { } if($this->signatureImageExist){ - $this->Image($this->imagePath."sign.png", 140, $this->GetY() + 40, 40, 16); + $this->Image($this->imagePath."sign.png", 140, $this->GetY() + 42, 40, 16); } } diff --git a/gestion/lib/Service/Certificate/PdfHandler/PacemakerCertificatePdfHandler.php b/gestion/lib/Service/Certificate/PdfHandler/PacemakerCertificatePdfHandler.php index fc80b33..1704cde 100644 --- a/gestion/lib/Service/Certificate/PdfHandler/PacemakerCertificatePdfHandler.php +++ b/gestion/lib/Service/Certificate/PdfHandler/PacemakerCertificatePdfHandler.php @@ -76,7 +76,7 @@ class PacemakerCertificatePdfHandler extends FPDF private function SetSigning() { - $this->SetXY(140, $this->GetY() + 15); + $this->SetXY(140, $this->GetY() + 12); $this->Cell(0, 10, 'Cachet et signature'); if($this->tamponImageExist){ @@ -84,7 +84,7 @@ class PacemakerCertificatePdfHandler extends FPDF } if($this->signatureImageExist){ - $this->Image($this->imagePath."sign.png", 140, $this->GetY() + 40, 40, 16); + $this->Image($this->imagePath."sign.png", 140, $this->GetY() + 42, 40, 16); } }