2
0
forked from Wavyzz/dolibarr
Fix pdf footer height for all documents
This commit is contained in:
Maxime Kohlhaas
2018-12-02 18:51:49 +01:00
parent 03a67cee99
commit 8fea6338e1
19 changed files with 19 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ class pdf_strato extends ModelePDFContract
$heightforinfotot = 50; // Height reserved to output the info and total part
$heightforfreetext= (isset($conf->global->MAIN_PDF_FREETEXT_HEIGHT)?$conf->global->MAIN_PDF_FREETEXT_HEIGHT:5); // Height reserved to output the free text on last page
$heightforfooter = $this->marge_basse + 8; // Height reserved to output the footer (value include bottom margin)
if ($conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS >0) $heightforfooter+= 6;
$pdf->SetAutoPageBreak(1,0);
if (class_exists('TCPDF'))