Fixing style errors.

This commit is contained in:
stickler-ci 2021-08-28 07:32:07 +00:00
parent 4ae29c53aa
commit 3598e0a246

View File

@ -650,11 +650,11 @@ class pdf_espadon extends ModelePdfExpedition
$this->printStdColumnContent($pdf, $curY, 'qty_asked', $object->lines[$i]->qty_asked); $this->printStdColumnContent($pdf, $curY, 'qty_asked', $object->lines[$i]->qty_asked);
$nexY = max($pdf->GetY(), $nexY); $nexY = max($pdf->GetY(), $nexY);
} }
if ($this->getColumnStatus('unit_order')) { if ($this->getColumnStatus('unit_order')) {
$this->printStdColumnContent($pdf, $curY, 'unit_order', measuringUnitString($object->lines[$i]->fk_unit)); $this->printStdColumnContent($pdf, $curY, 'unit_order', measuringUnitString($object->lines[$i]->fk_unit));
$nexY = max($pdf->GetY(), $nexY); $nexY = max($pdf->GetY(), $nexY);
} }
if ($this->getColumnStatus('qty_shipped')) { if ($this->getColumnStatus('qty_shipped')) {
$this->printStdColumnContent($pdf, $curY, 'qty_shipped', $object->lines[$i]->qty_shipped); $this->printStdColumnContent($pdf, $curY, 'qty_shipped', $object->lines[$i]->qty_shipped);
@ -1316,7 +1316,7 @@ class pdf_espadon extends ModelePdfExpedition
'align' => 'C', 'align' => 'C',
), ),
); );
$rank = $rank + 10; $rank = $rank + 10;
$this->cols['unit_order'] = array( $this->cols['unit_order'] = array(
'rank' => $rank, 'rank' => $rank,