From 997a8f5d1ffdfc42361806664629632fa62b6f7a Mon Sep 17 00:00:00 2001 From: Narindra ezway Date: Thu, 24 Apr 2025 09:42:55 +0300 Subject: [PATCH] fixe-logo-pdf-width --- .../Service/InvoiceGroupPdfHandler/InvoiceGroupPdfHandler.php | 2 +- gestion/lib/Service/InvoicePdfHandler.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceGroupPdfHandler.php b/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceGroupPdfHandler.php index 0cd2878..af5b85c 100644 --- a/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceGroupPdfHandler.php +++ b/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceGroupPdfHandler.php @@ -56,7 +56,7 @@ class InvoiceGroupPdfHandler extends FPDF { function Header() { if($this->logo != "nothing"){ - $this->Image($this->logoPath."logo.png", 2, 2, 50,35); + $this->Image($this->logoPath."logo.png", 2, 2, 75 ,25); $this->AddWatermark(); } else{ diff --git a/gestion/lib/Service/InvoicePdfHandler.php b/gestion/lib/Service/InvoicePdfHandler.php index 95449d9..fe60d4a 100644 --- a/gestion/lib/Service/InvoicePdfHandler.php +++ b/gestion/lib/Service/InvoicePdfHandler.php @@ -52,7 +52,7 @@ class InvoicePdfHandler extends FPDF function Header() { if ($this->logo != "nothing") { - $this->Image($this->logoPath . "logo.png", 2, 2, 50, 35); + $this->Image($this->logoPath . "logo.png", 2, 2, 75, 25); $this->AddWatermark(); } else { $this->Cell(55, 30, '');