2
0
forked from Wavyzz/dolibarr

Fix: UTF encoding on PDF company if there is no logo.

This commit is contained in:
Laurent Destailleur
2009-02-18 18:18:34 +00:00
parent 6409ef3467
commit 0060695c1b
11 changed files with 49 additions and 34 deletions

View File

@@ -752,9 +752,10 @@ class pdf_einstein extends ModelePDFCommandes
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("ErrorGoToGlobalSetup"), 0, 'L');
}
}
else if (defined("FAC_PDF_INTITULE"))
else
{
$pdf->MultiCell(100, 4, FAC_PDF_INTITULE, 0, 'L');
$text=$this->emetteur->nom;
$pdf->MultiCell(100, 4, $outputlangs->convToOutputCharset($text), 0, 'L');
}
$pdf->SetFont('Arial','B',13);