2
0
forked from Wavyzz/dolibarr

Patch Raphael

This commit is contained in:
Laurent Destailleur
2008-06-17 13:45:44 +00:00
parent 41b76fbe87
commit 4f1460cb4f
3 changed files with 6 additions and 6 deletions

View File

@@ -916,7 +916,7 @@ class pdf_einstein extends ModelePDFCommandes
$pdf->MultiCell(96,4, $object->client->nom, 0, 'L');
// Nom client
$carac_client = "\n".$object->contact->getFullName($outputlangs,1);
$carac_client = "\n".$object->contact->getFullName($outputlangs,1,1);
// Caract<63>ristiques client
$carac_client.="\n".$object->contact->adresse;
@@ -941,7 +941,7 @@ class pdf_einstein extends ModelePDFCommandes
// On v<>rifie si c'est une soci<63>t<EFBFBD> ou un particulier
if( !preg_match('#'.$object->contact->getFullName($outputlangs,1).'#isU',$object->client->nom) )
{
$carac_client .= "\n".$object->contact->getFullName($outputlangs,1);
$carac_client .= "\n".$object->contact->getFullName($outputlangs,1,1);
}
}