Fix missing posYAfterImage for nexy for espadon and squille
This commit is contained in:
parent
d20bd5bcf6
commit
dc9e71084b
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue