From 6b1e8d46a8e3b7d1ac6655317ccd6989f243c70c Mon Sep 17 00:00:00 2001 From: Tiavina Date: Mon, 7 Apr 2025 17:37:24 +0300 Subject: [PATCH] max width --- .../Service/InvoiceGroupPdfHandler/InvoiceGroupPdfHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceGroupPdfHandler.php b/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceGroupPdfHandler.php index 10d7113..cf95eba 100644 --- a/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceGroupPdfHandler.php +++ b/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceGroupPdfHandler.php @@ -164,7 +164,7 @@ class InvoiceGroupPdfHandler extends FPDF { $clientAddress = $this->factureData['client_real_adress']; $maxWidth = $this->GetPageWidth(); - $availableWidhtForClientInfo = $maxWidth - 10 - $clientInfoXAxis; + $availableWidhtForClientInfo = $maxWidth - 2 - $clientInfoXAxis; $clientInfoYAxis = 40; $this->SetXY($clientInfoXAxis,$clientInfoYAxis);