mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 02:42:33 +01:00
ci
This commit is contained in:
@@ -534,18 +534,19 @@ class pdf_eagle extends ModelePDFStockTransfer
|
||||
$curX = $this->posxdesc - 1;
|
||||
|
||||
$pdf->startTransaction();
|
||||
|
||||
if (method_exists($object->lines[$i], 'fetch_product')) {
|
||||
$object->lines[$i]->fetch_product();
|
||||
$object->lines[$i]->label = $object->lines[$i]->product->label;
|
||||
$object->lines[$i]->description = $object->lines[$i]->product->description;
|
||||
$object->lines[$i]->weight = $object->lines[$i]->product->weight;
|
||||
$object->lines[$i]->weight_units = $object->lines[$i]->product->weight_units;
|
||||
$object->lines[$i]->weight_units = (int) $object->lines[$i]->product->weight_units;
|
||||
$object->lines[$i]->length = $object->lines[$i]->product->length;
|
||||
$object->lines[$i]->length_units = $object->lines[$i]->product->length_units;
|
||||
$object->lines[$i]->length_units = (int) $object->lines[$i]->product->length_units;
|
||||
$object->lines[$i]->surface = $object->lines[$i]->product->surface;
|
||||
$object->lines[$i]->surface_units = $object->lines[$i]->product->surface_units;
|
||||
$object->lines[$i]->surface_units = (int) $object->lines[$i]->product->surface_units;
|
||||
$object->lines[$i]->volume = $object->lines[$i]->product->volume;
|
||||
$object->lines[$i]->volume_units = $object->lines[$i]->product->volume_units;
|
||||
$object->lines[$i]->volume_units = (int) $object->lines[$i]->product->volume_units;
|
||||
$object->lines[$i]->fk_unit = $object->lines[$i]->product->fk_unit;
|
||||
//var_dump($object->lines[$i]);exit;
|
||||
}
|
||||
|
||||
@@ -852,7 +852,7 @@ class pdf_standard_recruitmentjobposition extends ModelePDFRecruitmentJobPositio
|
||||
$posy += 3;
|
||||
$pdf->SetXY($posx, $posy);
|
||||
$pdf->SetTextColor(0, 0, 60);
|
||||
$pdf->MultiCell($w, 3, $outputlangs->transnoentities("CustomerCode")." : ".$outputlangs->transnoentities($object->thirdparty->code_client), '', 'R');
|
||||
$pdf->MultiCell($w, 3, $outputlangs->transnoentities("CustomerCode")." : ".$outputlangs->transnoentities((string) $object->thirdparty->code_client), '', 'R');
|
||||
}
|
||||
|
||||
$posy += 1;
|
||||
|
||||
Reference in New Issue
Block a user