From 879c2ad76601fb924ffd50e35dc9dedbba1dec9d Mon Sep 17 00:00:00 2001 From: Narindra ezway Date: Tue, 8 Apr 2025 17:23:55 +0300 Subject: [PATCH] adjust client info --- .../InvoiceGroupPdfHandler/InvoiceOgfPdfHandler.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceOgfPdfHandler.php b/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceOgfPdfHandler.php index 44e4a18..7aaf4b3 100644 --- a/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceOgfPdfHandler.php +++ b/gestion/lib/Service/InvoiceGroupPdfHandler/InvoiceOgfPdfHandler.php @@ -64,7 +64,10 @@ class InvoiceOgfPdfHandler extends InvoiceGroupPdfHandler { } public function DrawInvoiceInfoTable(){ - $this->setY(67); + + $startInvoiceInfoTable = 70; + $this->setY($startInvoiceInfoTable); + $factureDatePaiement = $this->factureData['date_paiement']; $factureDatePaiement = DateTime::createFromFormat('Y-m-d',$factureDatePaiement); $factureDateEcheance = $factureDatePaiement; @@ -85,7 +88,8 @@ class InvoiceOgfPdfHandler extends InvoiceGroupPdfHandler { $this->Cell(40, 11, $factureDateEcheance, 1, 0, 'C'); $this->Cell(34, 11, $this->factureData["facture_order_number"], 1, 1, 'C'); - $this->startingYOfArticlesTable = 88; + $this->startingYOfArticlesTable = $startInvoiceInfoTable + 20; + }