From 9458c223e033e9c6946460f09790751d157dcff2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 8 Jan 2005 12:04:30 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Sur=20facture=20crabe,=20on=20affiche=20?= =?UTF-8?q?SIREN=20si=20d=E9fini=20(le=20plus=20complet)=20sinon=20SIRET?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../includes/modules/facture/pdf_crabe.modules.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index 810593f7d0a..ece0ec99b63 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -572,16 +572,17 @@ class pdf_crabe extends ModelePDFFactures $pdf->SetFont('Arial','',10); $pdf->MultiCell(40, 4, "Tél : ".FAC_PDF_TEL); } - if (defined("MAIN_INFO_SIRET")) - { - $pdf->SetFont('Arial','',10); - $pdf->MultiCell(60, 4, "SIRET : ".MAIN_INFO_SIRET); - } - elseif (defined("MAIN_INFO_SIREN")) + + if (defined("MAIN_INFO_SIREN")) { $pdf->SetFont('Arial','',10); $pdf->MultiCell(60, 4, "SIREN : ".MAIN_INFO_SIREN); } + elseif (defined("MAIN_INFO_SIRET")) + { + $pdf->SetFont('Arial','',10); + $pdf->MultiCell(60, 4, "SIRET : ".MAIN_INFO_SIRET); + } /*