From 00c7bd5a7ae778861891a18f7046cebc3eeda1ff Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 17 Oct 2007 15:29:26 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Si=20on=20utilise=20nom=20contact,=20on?= =?UTF-8?q?=20indique=20civilit=E9=20et=20pr=E9nom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/modules/facture/pdf_crabe.modules.php | 3 +-- htdocs/includes/modules/propale/pdf_propale_azur.modules.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index 77e3d652600..269452c3942 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -17,7 +17,6 @@ * or see http://www.gnu.org/ * * $Id$ -* $Source$ */ /** @@ -1039,7 +1038,7 @@ class pdf_crabe extends ModelePDFFactures // Nom client $pdf->SetXY(102,$posy+4); $pdf->SetFont('Arial','',9); - $pdf->MultiCell(106,4, $object->contact->nom, 0, 'L'); + $pdf->MultiCell(106,4, $object->contact->getFullName($outputlangs,1), 0, 'L'); // Caractéristiques client $carac_client=$object->contact->adresse; diff --git a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php index b7cd00c010a..90d2aba317c 100644 --- a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php +++ b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php @@ -17,7 +17,6 @@ * or see http://www.gnu.org/ * * $Id$ -* $Source$ */ /** @@ -915,7 +914,7 @@ class pdf_propale_azur extends ModelePDFPropales // Nom client $pdf->SetXY(102,$posy+4); $pdf->SetFont('Arial','',9); - $pdf->MultiCell(106,4, $object->contact->nom, 0, 'L'); + $pdf->MultiCell(106,4, $object->contact->getFullName($outputlangs,1), 0, 'L'); // Caractéristiques client $carac_client=$object->contact->adresse;