From d4a2b1dbe8097305f282b97ccb9c1c6367f73f05 Mon Sep 17 00:00:00 2001 From: Tiavina Date: Thu, 13 Feb 2025 12:47:03 +0300 Subject: [PATCH] logo disposition on hytha 35 --- gestion/lib/Controller/PageController.php | 4 ++-- .../Certificate/PdfHandler/CareCertificatePdfHandler.php | 2 +- .../PdfHandler/PacemakerCertificatePdfHandler.php | 2 +- gestion/lib/Service/Devis/Pdf/DevisPdfHandler.php | 2 +- gestion/lib/Service/InvoicePdfHandler.php | 2 +- gestion/lib/Service/InvoiceRecap/InvoiceRecapService.php | 8 ++++---- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gestion/lib/Controller/PageController.php b/gestion/lib/Controller/PageController.php index cacf7be..5050df3 100644 --- a/gestion/lib/Controller/PageController.php +++ b/gestion/lib/Controller/PageController.php @@ -2029,7 +2029,7 @@ class PageController extends Controller { // logo : 80 de largeur et 55 de hauteur $logo = $this->getLogo(); if($logo != 'nothing'){ - $pdf->Image($this->defaultImagePath."logo.png", 15, 15, 50,35); + $pdf->Image($this->defaultImagePath."logo.png", 10, 10, 75, 25); } $pdf->setXY(15, 15); $pdf->SetFont('ComicSans', '', 10); $pdf->MultiCell(0, 5, utf8_decode(html_entity_decode("N : ".$numFacture)), '', 'R'); @@ -2292,7 +2292,7 @@ class PageController extends Controller { // logo : 80 de largeur et 55 de hauteur $logo = $this->getLogo(); if($logo != 'nothing'){ - $pdf->Image($this->defaultImagePath."logo.png", 10, 10, 50,35); + $pdf->Image($this->defaultImagePath."logo.png", 10, 10, 75, 25); } $pdf->SetY(45); $pdf->SetFont('ComicSans', 'B', 15); $pdf->Cell(0, 10, utf8_decode(html_entity_decode("ATTESTATION BIJOU(X)")), 0, 0, 'C'); diff --git a/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php b/gestion/lib/Service/Certificate/PdfHandler/CareCertificatePdfHandler.php index f752512..78b9201 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,50,35); + $this->Image($this->imagePath."logo.png", 10, 10, 75, 25); } else{ $this->Cell(55,30,''); diff --git a/gestion/lib/Service/Certificate/PdfHandler/PacemakerCertificatePdfHandler.php b/gestion/lib/Service/Certificate/PdfHandler/PacemakerCertificatePdfHandler.php index 67acc1a..fef775d 100644 --- a/gestion/lib/Service/Certificate/PdfHandler/PacemakerCertificatePdfHandler.php +++ b/gestion/lib/Service/Certificate/PdfHandler/PacemakerCertificatePdfHandler.php @@ -42,7 +42,7 @@ class PacemakerCertificatePdfHandler extends FPDF { function Header() { if($this->logo != "nothing"){ - $this->Image($this->imagePath."logo.png", 10, 10, 50,35); + $this->Image($this->imagePath."logo.png", 10, 10, 75, 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 812c95b..7d5552b 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", 2, 2, 50,35); + $this->Image($this->logoPath."logo.png", 10, 10, 75, 25); } else{ $this->Cell(55,30,''); diff --git a/gestion/lib/Service/InvoicePdfHandler.php b/gestion/lib/Service/InvoicePdfHandler.php index 6ecefe6..4ed361c 100644 --- a/gestion/lib/Service/InvoicePdfHandler.php +++ b/gestion/lib/Service/InvoicePdfHandler.php @@ -45,7 +45,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", 10, 10, 75, 25); } else{ $this->Cell(55,30,''); diff --git a/gestion/lib/Service/InvoiceRecap/InvoiceRecapService.php b/gestion/lib/Service/InvoiceRecap/InvoiceRecapService.php index 74ae8eb..95b3492 100644 --- a/gestion/lib/Service/InvoiceRecap/InvoiceRecapService.php +++ b/gestion/lib/Service/InvoiceRecap/InvoiceRecapService.php @@ -171,7 +171,7 @@ class InvoiceRecapService { // logo : 80 de largeur et 55 de hauteur if($doesLogoExist){ - $pdf->Image($this->defaultImagePath."logo.png", 2, 2, 50,35); + $pdf->Image($this->defaultImagePath."logo.png", 10, 10, 75, 25); } //adresse de mon entreprise @@ -276,7 +276,7 @@ class InvoiceRecapService { $pdf->SetMargins(0,0,10); if($doesLogoExist){ - $pdf->Image($this->defaultImagePath."logo.png", 2, 2, 50,35); + $pdf->Image($this->defaultImagePath."logo.png", 10, 10, 75, 25); } //adresse de mon entreprise @@ -579,7 +579,7 @@ class InvoiceRecapService { // logo : 80 de largeur et 55 de hauteur if($doesLogoExist){ - $pdf->Image($this->defaultImagePath."logo.png", 2, 2, 50,35); + $pdf->Image($this->defaultImagePath."logo.png", 10, 10, 75, 25); } //adresse de mon entreprise @@ -682,7 +682,7 @@ class InvoiceRecapService { $pdf->SetAutoPagebreak(False); $pdf->SetMargins(0,0,10); if($doesLogoExist){ - $pdf->Image($this->defaultImagePath."logo.png", 2, 2, 50,35); + $pdf->Image($this->defaultImagePath."logo.png", 10, 10, 75, 25); } //adresse de mon entreprise