New: add supplier ref on supplier invoice.
This commit is contained in:
parent
d5c6c99493
commit
e7d07c0a91
@ -827,6 +827,13 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
|
|||||||
$pdf->MultiCell(100, 4, $outputlangs->transnoentities("SupplierInvoice")." ".$outputlangs->convToOutputCharset($object->ref), '', 'R');
|
$pdf->MultiCell(100, 4, $outputlangs->transnoentities("SupplierInvoice")." ".$outputlangs->convToOutputCharset($object->ref), '', 'R');
|
||||||
$pdf->SetFont('','', $default_font_size + 2);
|
$pdf->SetFont('','', $default_font_size + 2);
|
||||||
|
|
||||||
|
if ($object->ref_supplier)
|
||||||
|
{
|
||||||
|
$posy+=5;
|
||||||
|
$pdf->SetXY($posx,$posy);
|
||||||
|
$pdf->MultiCell(100, 4, $outputlangs->transnoentities("RefSupplier")." : " . $object->ref_supplier, '', 'R');
|
||||||
|
}
|
||||||
|
|
||||||
$posy+=6;
|
$posy+=6;
|
||||||
$pdf->SetXY($posx,$posy);
|
$pdf->SetXY($posx,$posy);
|
||||||
if ($object->date)
|
if ($object->date)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user