2
0
forked from Wavyzz/dolibarr

Update pdf_cornas.modules.php

This commit is contained in:
Frédéric FRANCE
2025-02-27 14:17:30 +01:00
committed by GitHub
parent 31cd3d7eb2
commit dbcfd2eadb

View File

@@ -559,7 +559,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders
if ($pageposafter > $pageposbefore) { // There is a pagebreak
$pdf->rollbackTransaction(true);
$pageposafter = $pageposbefore;
$pdf->setPageOrientation('', 1, $heightforfooter); // The only function to edit the bottom margin of current page to set it.
$pdf->setPageOrientation('', true, $heightforfooter); // The only function to edit the bottom margin of current page to set it.
$this->printColDescContent($pdf, $curY, 'desc', $object, $i, $outputlangs, $hideref, $hidedesc, 1);
$pageposafter = $pdf->getPage();