@@ -284,7 +284,7 @@ class pdf_standard extends ModeleExpenseReport
}
$iniY=$tab_top+7;
$curY=$tab_top+7;
$initialY=$tab_top+7;
$nexY=$tab_top+7;
// Loop on each lines
...
...
@@ -292,35 +292,25 @@ class pdf_standard extends ModeleExpenseReport
{
$piece_comptable=$i+1;
$curY=$nexY;
$pdf->SetFont('','',$default_font_size-2);// Into loop to work with multipage
$pdf->SetTextColor(0,0,0);
$pdf->setTopMargin($tab_top_newpage);
$pdf->setPageOrientation('',1,$heightforfooter+$heightforfreetext+$heightforinfotot);// The only function to edit the bottom margin of current page to set it.