fix when i++ not set
This commit is contained in:
parent
58d248143b
commit
b25b946e8d
@ -1180,8 +1180,8 @@ class PDFCore extends PDF_PageGroupCore
|
||||
}
|
||||
|
||||
$this->Cell($w[++$i], $lineSize, (int)($product['customizationQuantityTotal']), 'B', 0, 'C');
|
||||
if (!$delivery) {
|
||||
$this->Cell($w[++$i], $lineSize, (self::$orderSlip ? '-' : '').self::convertSign(Tools::displayPrice($unit_price * (int)($product['customizationQuantityTotal']), self::$currency, true)), 'B', 0, 'R');
|
||||
if (!$delivery && isset($w[++$i])) {
|
||||
$this->Cell($w[$i], $lineSize, (self::$orderSlip ? '-' : '').self::convertSign(Tools::displayPrice($unit_price * (int)($product['customizationQuantityTotal']), self::$currency, true)), 'B', 0, 'R');
|
||||
}
|
||||
|
||||
$this->Ln();
|
||||
|
Loading…
Reference in New Issue
Block a user