Fix: Trad missing
This commit is contained in:
parent
4e53e95aa0
commit
ff1fa7f5f4
@ -333,6 +333,8 @@ class pdf_sirocco extends ModelePDFDeliveryOrder
|
|||||||
{
|
{
|
||||||
global $langs,$conf,$mysoc;
|
global $langs,$conf,$mysoc;
|
||||||
|
|
||||||
|
$outputlangs->load("companies");
|
||||||
|
|
||||||
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||||
|
|
||||||
$pdf->SetTextColor(0,0,60);
|
$pdf->SetTextColor(0,0,60);
|
||||||
@ -430,12 +432,12 @@ class pdf_sirocco extends ModelePDFDeliveryOrder
|
|||||||
$result=$newobject->fetch($val[$i]);
|
$result=$newobject->fetch($val[$i]);
|
||||||
if ($result >= 0)
|
if ($result >= 0)
|
||||||
{
|
{
|
||||||
$posy+=4;
|
$posy=94;
|
||||||
$pdf->SetXY(102,$posy);
|
$pdf->SetXY(11,$posy);
|
||||||
$pdf->SetFont('','',9);
|
$pdf->SetFont('','',9);
|
||||||
$text=$newobject->ref;
|
$text=$newobject->ref;
|
||||||
if ($newobject->ref_client) $text.=' ('.$newobject->ref_client.')';
|
if ($newobject->ref_client) $text.=' ('.$newobject->ref_client.')';
|
||||||
$pdf->Text(11, 94, $outputlangs->transnoentities("RefOrder")." : ".$outputlangs->transnoentities($text), '', 'R');
|
$pdf->MultiCell(100, 4, $outputlangs->transnoentities("RefOrder")." : ".$outputlangs->transnoentities($text), '', 'R');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user