FIX: truncate Customer Reference too long on PDF header (PR #20718)

This commit is contained in:
Florian HENRY 2022-04-26 16:53:40 +02:00
parent 399addfb03
commit 3d4bd1e155

View File

@ -1336,7 +1336,7 @@ class pdf_aurore extends ModelePDFSupplierProposal
$posy += 4;
$pdf->SetXY($posx, $posy);
$pdf->SetTextColor(0, 0, 60);
$pdf->MultiCell($w, 3, $outputlangs->transnoentities("RefCustomer")." : ".dol_trunc($outputlangs->convToOutputCharset($object->ref_client), 65), '', 'R');
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("RefCustomer")." : ".dol_trunc($outputlangs->convToOutputCharset($object->ref_client), 65), '', 'R');
}
/* PHFAVRE
$posy+=4;