2
0
forked from Wavyzz/dolibarr

Fix: UTF8 support in public notes

This commit is contained in:
Laurent Destailleur
2008-12-15 22:07:07 +00:00
parent fe3e466503
commit 1ebc1bdece
6 changed files with 41 additions and 14 deletions

View File

@@ -203,13 +203,13 @@ class pdf_einstein extends ModelePDFCommandes
$tab_height_newpage = 180;
// Affiche notes
if ($com->note_public)
if (! empty($com->note_public))
{
$tab_top = 88;
$pdf->SetFont('Arial','', 9); // Dans boucle pour g<>rer multi-page
$pdf->SetXY ($this->posxdesc-1, $tab_top);
$pdf->MultiCell(190, 3, $com->note_public, 0, 'J');
$pdf->MultiCell(190, 3, $outputlangs->convToOutputCharset($com->note_public), 0, 'J');
$nexY = $pdf->GetY();
$height_note=$nexY-$tab_top;