Merge branch 'ticket-11208-FactureCadeau' into develop
This commit is contained in:
commit
3eae4e2171
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user