This commit is contained in:
Marion Muszynski 2016-12-21 12:39:35 +01:00
parent 2b30de1cce
commit 6c822a0e12

View File

@ -1159,7 +1159,7 @@ class PDFCore extends PDF_PageGroupCore
$this->SetFont(self::fontname(), '', 7);
}
$this->MultiCell($w[++$i], 5, Tools::iconv('utf-8', self::encoding(), $product['product_name']), 'BT', 'L');
$this->MultiCell($w[++$i], 5, Tools::iconv('utf-8', self::encoding(), $product['product_name']), 'BT');
$lineSize = $this->GetY() - $before;
$this->SetXY($this->GetX() + $w[0] + ($delivery ? 15 : 0), $this->GetY() - $lineSize);
$this->Cell($w[++$i], $lineSize, ($product['product_reference'] ? Tools::iconv('utf-8', self::encoding(), $product['product_reference']) : '--'), 'BT');
@ -1176,7 +1176,7 @@ class PDFCore extends PDF_PageGroupCore
}
}
/* @Override Antadis */
if(!$delivery) {
if(!$delivery && !$hasEcotax) {
global $cookie;
error_log("logt" . serialize($cookie));
if(method_exists($cookie, 'isLoggedBack') && $cookie->isLoggedBack()) {