From 084b9530203888406af1796122cbcb0f1cf256c6 Mon Sep 17 00:00:00 2001 From: Tiavina Date: Mon, 20 Jan 2025 12:56:05 +0300 Subject: [PATCH] fix logo size --- .../Certificate/PdfHandler/CareCertificatePdfHandler.php | 2 +- gestion/lib/Service/Devis/Pdf/DevisPdfHandler.php | 2 +- gestion/lib/Service/InvoicePdfHandler.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php b/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php index acd271b..61bd26f 100644 --- a/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php +++ b/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php @@ -42,7 +42,7 @@ class CareCertificatePdfHandler extends FPDF { function Header() { if($this->logo != "nothing"){ - $this->Image($this->imagePath."logo.png", 10, 10, 90, 35); + $this->Image($this->imagePath."logo.png", 10, 10, 50, 25); } else{ $this->Cell(55,30,''); diff --git a/gestion/lib/Service/Devis/Pdf/DevisPdfHandler.php b/gestion/lib/Service/Devis/Pdf/DevisPdfHandler.php index e002659..9791dd1 100644 --- a/gestion/lib/Service/Devis/Pdf/DevisPdfHandler.php +++ b/gestion/lib/Service/Devis/Pdf/DevisPdfHandler.php @@ -40,7 +40,7 @@ class DevisPdfHandler extends FPDF { function Header() { if($this->logo != "nothing"){ - $this->Image($this->logoPath."logo.png", 10, 10, 75, 25); + $this->Image($this->logoPath."logo.png", 10, 10, 50, 25); } else{ $this->Cell(55,30,''); diff --git a/gestion/lib/Service/InvoicePdfHandler.php b/gestion/lib/Service/InvoicePdfHandler.php index 9b4971a..5d0e5b5 100644 --- a/gestion/lib/Service/InvoicePdfHandler.php +++ b/gestion/lib/Service/InvoicePdfHandler.php @@ -42,7 +42,7 @@ class InvoicePdfHandler extends FPDF { function Header() { if($this->logo != "nothing"){ - $this->Image($this->logoPath."logo.png", 10, 10, 75, 25); + $this->Image($this->logoPath."logo.png", 10, 10, 50, 25); } else{ $this->Cell(55,30,'');