commit
ba6e73ef8a
@ -1464,8 +1464,7 @@ class pdf_sponge extends ModelePDFFactures
|
|||||||
if (empty($conf->global->MAIN_PDF_DONOTREPEAT_HEAD)) {
|
if (empty($conf->global->MAIN_PDF_DONOTREPEAT_HEAD)) {
|
||||||
$this->_pagehead($pdf, $object, 0, $outputlangs, $outputlangsbis);
|
$this->_pagehead($pdf, $object, 0, $outputlangs, $outputlangsbis);
|
||||||
$pdf->setY($this->tab_top_newpage);
|
$pdf->setY($this->tab_top_newpage);
|
||||||
}
|
} else {
|
||||||
else{
|
|
||||||
$pdf->setY($this->marge_haute);
|
$pdf->setY($this->marge_haute);
|
||||||
}
|
}
|
||||||
$posy = $pdf->GetY();
|
$posy = $pdf->GetY();
|
||||||
@ -1532,8 +1531,7 @@ class pdf_sponge extends ModelePDFFactures
|
|||||||
if (empty($conf->global->MAIN_PDF_DONOTREPEAT_HEAD)) {
|
if (empty($conf->global->MAIN_PDF_DONOTREPEAT_HEAD)) {
|
||||||
$this->_pagehead($pdf, $object, 0, $outputlangs, $outputlangsbis);
|
$this->_pagehead($pdf, $object, 0, $outputlangs, $outputlangsbis);
|
||||||
$pdf->setY($this->tab_top_newpage);
|
$pdf->setY($this->tab_top_newpage);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$pdf->setY($this->marge_haute);
|
$pdf->setY($this->marge_haute);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user