Patch Raphael
This commit is contained in:
parent
41b76fbe87
commit
4f1460cb4f
@ -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é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été 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1109,7 +1109,7 @@ class pdf_crabe extends ModelePDFFactures
|
||||
$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éristiques client
|
||||
$carac_client.="\n".$object->contact->adresse;
|
||||
@ -1135,7 +1135,7 @@ class pdf_crabe extends ModelePDFFactures
|
||||
// On vérifie si c'est une société 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -942,7 +942,7 @@ class pdf_propale_azur extends ModelePDFPropales
|
||||
$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éristiques client
|
||||
$carac_client.="\n".$object->contact->adresse;
|
||||
@ -968,7 +968,7 @@ class pdf_propale_azur extends ModelePDFPropales
|
||||
// On vérifie si c'est une société 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user