From 3cdc581d676f243d06ee78d12d9b95eebd8cf43c Mon Sep 17 00:00:00 2001 From: Narindra ezway Date: Fri, 4 Apr 2025 18:39:38 +0300 Subject: [PATCH] Adjust footer position in PDF invoices --- .../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 68a0325..3b485f9 100644 --- a/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceGroupPdfHandler.php +++ b/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceGroupPdfHandler.php @@ -99,7 +99,7 @@ class InvoiceGroupPdfHandler extends FPDF { function Footer() { - $this->SetY(-38); + $this->SetY(-34); $this->SetFont('ComicSans', '', size: 7); $this->MultiCell(0,4,utf8_decode(html_entity_decode('Tout retard de paiement entraînera de plein droit une pénalité de retard de 3 fois le taux légal ( Loi 2008-776 du 4 août 2008) et une indemnité forfaitaire de 40 EUR pour frais de recouvrement sera appliquée.'))); $this->Ln(1); diff --git a/gestion/lib/Service/InvoicePdfHandler.php b/gestion/lib/Service/InvoicePdfHandler.php index a246338..bca330f 100644 --- a/gestion/lib/Service/InvoicePdfHandler.php +++ b/gestion/lib/Service/InvoicePdfHandler.php @@ -89,7 +89,7 @@ class InvoicePdfHandler extends FPDF function Footer() { - $this->SetY(-38); + $this->SetY(-34); $this->SetFont('ComicSans', '', 7); $this->MultiCell(0, 4, utf8_decode(html_entity_decode('Tout retard de paiement entraînera de plein droit une pénalité de retard de 3 fois le taux légal ( Loi 2008-776 du 4 août 2008) et une indemnité forfaitaire de 40 EUR pour frais de recouvrement sera appliquée.'))); $this->Ln(1);