Fix missing posYAfterImage for nexy for espadon and squille

This commit is contained in:
Francis Appels 2021-06-24 12:15:29 +02:00
parent d20bd5bcf6
commit dc9e71084b
2 changed files with 2 additions and 2 deletions

View File

@ -608,7 +608,7 @@ class pdf_espadon extends ModelePdfExpedition
$posYAfterDescription = $pdf->GetY();
}
$nexY = $pdf->GetY();
$nexY = max($pdf->GetY(), $posYAfterImage);
$pageposafter = $pdf->getPage();
$pdf->setPage($pageposbefore);

View File

@ -423,7 +423,7 @@ class pdf_squille extends ModelePdfReception
}
$posYAfterDescription = $pdf->GetY();
$nexY = $pdf->GetY();
$nexY = max($pdf->GetY(), $posYAfterImage);
$pageposafter = $pdf->getPage();
$pdf->setPage($pageposbefore);