Merge pull request #14574 from ATM-Consulting/11.0_FIX_11858_do_not_allow_lines_to_overlap_infotot
FIX 11.0 - expenses lines overlapping the total amounts frame
This commit is contained in:
commit
68286199eb
@ -358,7 +358,7 @@ class pdf_standard extends ModeleExpenseReport
|
|||||||
while ($i < $nblines) {
|
while ($i < $nblines) {
|
||||||
$pdf->SetFont('', '', $default_font_size - 2); // Into loop to work with multipage
|
$pdf->SetFont('', '', $default_font_size - 2); // Into loop to work with multipage
|
||||||
$pdf->SetTextColor(0, 0, 0);
|
$pdf->SetTextColor(0, 0, 0);
|
||||||
if (empty($showpricebeforepagebreak)) {
|
if (empty($showpricebeforepagebreak) && ($i !== ($nblines - 1))) {
|
||||||
$pdf->setPageOrientation('', 1, $heightforfooter); // The only function to edit the bottom margin of current page to set it.
|
$pdf->setPageOrientation('', 1, $heightforfooter); // The only function to edit the bottom margin of current page to set it.
|
||||||
} else {
|
} else {
|
||||||
$pdf->setPageOrientation('', 1, $heightforfooter + $heightforfreetext + $heightforinfotot); // The only function to edit the bottom margin of current page to set it.
|
$pdf->setPageOrientation('', 1, $heightforfooter + $heightforfreetext + $heightforinfotot); // The only function to edit the bottom margin of current page to set it.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user