Merge branch 'fix_v20_pdf_space_lost_with_images_eratosthene2' of github.com:thersane-john/dolibarr into fix_v20_pdf_space_lost_with_images_sponge
This commit is contained in:
commit
e3f289fbf6
2 changed files with 2 additions and 2 deletions
|
|
@ -817,7 +817,7 @@ class pdf_eratosthene extends ModelePDFCommandes
|
|||
$drawTabHeight = $drawTabBottom - $drawTabTop;
|
||||
$this->_tableau($pdf, $drawTabTop, $drawTabHeight, 0, $outputlangs, $drawTabHideTop, $hideBottom, $object->multicurrency_code, $outputlangsbis);
|
||||
|
||||
$hideFreeText = $i != $pdf->getNumPages(); // Display free text only in last page
|
||||
$hideFreeText = $i != $pdf->getNumPages() ? 1 : 0; // Display free text only in last page
|
||||
$this->_pagefoot($pdf, $object, $outputlangs, $hideFreeText);
|
||||
|
||||
$pdf->setPage($i); // in case of _pagefoot or _tableau change it
|
||||
|
|
|
|||
|
|
@ -842,7 +842,7 @@ class pdf_cyan extends ModelePDFPropales
|
|||
$drawTabHeight = $drawTabBottom - $drawTabTop;
|
||||
$this->_tableau($pdf, $drawTabTop, $drawTabHeight, 0, $outputlangs, $drawTabHideTop, $hideBottom, $object->multicurrency_code, $outputlangsbis);
|
||||
|
||||
$hideFreeText = $i != $pdf->getNumPages(); // Display free text only in last page
|
||||
$hideFreeText = $i != $pdf->getNumPages() ? 1 : 0; // Display free text only in last page
|
||||
$this->_pagefoot($pdf, $object, $outputlangs, $hideFreeText);
|
||||
|
||||
$pdf->setPage($i); // in case of _pagefoot or _tableau change it
|
||||
|
|
|
|||
Loading…
Reference in a new issue