adjust client info

This commit is contained in:
Narindra ezway 2025-04-08 17:23:55 +03:00
parent c6f417e6f1
commit 879c2ad766

View File

@ -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;
}