hotfix bdc FOURNISSEUR pagination
This commit is contained in:
parent
b7a44abe2e
commit
59ba082a95
@ -193,7 +193,7 @@ class OrderPdfHandler extends FPDF {
|
||||
$totalTva += $tvaAmount;
|
||||
}
|
||||
$this->currentIndexPosition = $currentIndexPosition;
|
||||
$this->initialIndexPosition += $this->currentIndexPosition;
|
||||
$this->initialIndexPosition = $this->currentIndexPosition;
|
||||
$chargedOrderCount = $this->currentIndexPosition + 1;
|
||||
$articlesLeftToGet = sizeof($this->orderProducts) - $chargedOrderCount;
|
||||
$this->articlesCountToGet = ($articlesLeftToGet <= self::MAX_ARTICLES_PER_PAGE) ? $articlesLeftToGet + 1 : self::MAX_ARTICLES_PER_PAGE;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user