forked from Wavyzz/dolibarr
Update pdf_cornas.modules.php
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user