Fixing style errors.
This commit is contained in:
parent
db6a2844ad
commit
35f3742d08
@ -206,7 +206,7 @@ class pdf_testD extends ModelePDFMo
|
|||||||
$nblines = count($object->lines);
|
$nblines = count($object->lines);
|
||||||
|
|
||||||
//Change descriptionfield
|
//Change descriptionfield
|
||||||
$showsupplierSKU = False;
|
$showsupplierSKU = false;
|
||||||
|
|
||||||
$hidetop = 0;
|
$hidetop = 0;
|
||||||
if (!empty($conf->global->MAIN_PDF_DISABLE_COL_HEAD_TITLE)) {
|
if (!empty($conf->global->MAIN_PDF_DISABLE_COL_HEAD_TITLE)) {
|
||||||
@ -596,10 +596,10 @@ class pdf_testD extends ModelePDFMo
|
|||||||
{
|
{
|
||||||
$pdf->commitTransaction();
|
$pdf->commitTransaction();
|
||||||
}
|
}
|
||||||
$posYAfterDescription = max($posYAfterDescription,$pdf->GetY());
|
$posYAfterDescription = max($posYAfterDescription, $pdf->GetY());
|
||||||
}
|
}
|
||||||
|
|
||||||
$nexY = max($nexY,$pdf->GetY());
|
$nexY = max($nexY, $pdf->GetY());
|
||||||
$pageposafter = $pdf->getPage();
|
$pageposafter = $pdf->getPage();
|
||||||
$pdf->setPage($pageposbefore);
|
$pdf->setPage($pageposbefore);
|
||||||
$pdf->setTopMargin($this->marge_haute);
|
$pdf->setTopMargin($this->marge_haute);
|
||||||
@ -1164,7 +1164,7 @@ class pdf_testD extends ModelePDFMo
|
|||||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("OrderToProcess"), '', 'R');
|
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("OrderToProcess"), '', 'R');
|
||||||
}
|
}
|
||||||
|
|
||||||
// product info
|
// product info
|
||||||
$posy += 7;
|
$posy += 7;
|
||||||
$prodToMake = new Product($this->db);
|
$prodToMake = new Product($this->db);
|
||||||
$prodToMake->fetch($object->fk_product);
|
$prodToMake->fetch($object->fk_product);
|
||||||
@ -1183,7 +1183,7 @@ class pdf_testD extends ModelePDFMo
|
|||||||
|
|
||||||
$array = array_filter(array($prodToMake->length, $prodToMake->width, $prodToMake->height));
|
$array = array_filter(array($prodToMake->length, $prodToMake->width, $prodToMake->height));
|
||||||
$dim = implode("x", $array);
|
$dim = implode("x", $array);
|
||||||
if (!empty($dim)){
|
if (!empty($dim)) {
|
||||||
$posy += 5;
|
$posy += 5;
|
||||||
$pdf->SetFont('', 'B', $default_font_size + 3);
|
$pdf->SetFont('', 'B', $default_font_size + 3);
|
||||||
$pdf->SetXY($posx, $posy);
|
$pdf->SetXY($posx, $posy);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user