fixes/fixe-height-on-has-bdc

This commit is contained in:
Narindra ezway 2025-04-16 17:13:12 +03:00
parent 2e846e75f8
commit fb3af4e16b

View File

@ -254,7 +254,7 @@ class InvoicePdfHandler extends FPDF
$this->Line(3, $this->startingYOfArticlesTable + $gapBetweenStartingOfArticlesTableAndColumnName, 207, $this->startingYOfArticlesTable + $gapBetweenStartingOfArticlesTableAndColumnName);
// les traits verticaux colonnes
$additionalMargRight = 1;
$endingLine = 233; // mois +1 pour le groupe
$endingLine = $this->thereIsOrderOrCaseNumber ? 233 : 230; // mois +1 pour le groupe
$this->Line(27 + $additionalMargRight, $this->startingYOfArticlesTable, 27+ $additionalMargRight , $endingLine);
$this->Line(142 + $additionalMargRight, $this->startingYOfArticlesTable, 142+ $additionalMargRight , $endingLine);
$this->Line(164 + $additionalMargRight, $this->startingYOfArticlesTable, 164+ $additionalMargRight , $endingLine);