|
@@ -612,6 +612,14 @@ class pdf_soleil extends ModelePDFFicheinter
|
|
|
$pdf->SetTextColor(0, 0, 60);
|
|
|
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("Date")." : ".dol_print_date($object->datec, "day", false, $outputlangs, true), '', 'R');
|
|
|
|
|
|
+ if (!empty($object->ref_client)) {
|
|
|
+ $posy += 4;
|
|
|
+ $pdf->SetXY($posx, $posy);
|
|
|
+ $pdf->SetTextColor(0, 0, 60);
|
|
|
+ $pdf->MultiCell(100, 3, $outputlangs->transnoentities("RefCustomer") . " : " . dol_trunc($outputlangs->convToOutputCharset($object->ref_client), 65), '', 'R');
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
if (empty($conf->global->MAIN_PDF_HIDE_CUSTOMER_CODE) && $object->thirdparty->code_client) {
|
|
|
$posy += 4;
|
|
|
$pdf->SetXY($posx, $posy);
|