From 4f1460cb4ff74e4fbc3a4f8b97feea1cb2626207 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 17 Jun 2008 13:45:44 +0000 Subject: [PATCH] Patch Raphael --- htdocs/includes/modules/commande/pdf_einstein.modules.php | 4 ++-- htdocs/includes/modules/facture/pdf_crabe.modules.php | 4 ++-- htdocs/includes/modules/propale/pdf_propale_azur.modules.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/includes/modules/commande/pdf_einstein.modules.php b/htdocs/includes/modules/commande/pdf_einstein.modules.php index 123a49f4de7..82508d6484f 100644 --- a/htdocs/includes/modules/commande/pdf_einstein.modules.php +++ b/htdocs/includes/modules/commande/pdf_einstein.modules.php @@ -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); } } diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index bd37c0d22f0..e5e43f1a870 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -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); } } diff --git a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php index 757b58fb559..3a0972c337f 100644 --- a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php +++ b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php @@ -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); } }