New: add supplier ref on supplier invoice.

This commit is contained in:
Laurent Destailleur 2012-03-19 22:26:24 +01:00
parent d5c6c99493
commit e7d07c0a91

View File

@ -827,6 +827,13 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
$pdf->MultiCell(100, 4, $outputlangs->transnoentities("SupplierInvoice")." ".$outputlangs->convToOutputCharset($object->ref), '', 'R');
$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;
$pdf->SetXY($posx,$posy);
if ($object->date)