fix offset i
This commit is contained in:
parent
b25b946e8d
commit
b20b9ede8f
@ -1231,8 +1231,9 @@ class PDFCore extends PDF_PageGroupCore
|
||||
}
|
||||
|
||||
$this->Cell($w[++$i], $lineSize, $productQuantity, 'BT', 0, 'C');
|
||||
if (!$delivery)
|
||||
$this->Cell($w[++$i], $lineSize, (self::$orderSlip ? '-' : '').self::convertSign(Tools::displayPrice($final_price, self::$currency, true)), 'BT', 0, 'R');
|
||||
if (!$delivery && isset($w[++$i])) {
|
||||
$this->Cell($w[$i], $lineSize, (self::$orderSlip ? '-' : '').self::convertSign(Tools::displayPrice($final_price, self::$currency, true)), 'BT', 0, 'R');
|
||||
}
|
||||
$this->Ln();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user