mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Patch Raphael
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user