From abe992e2f29d7999532614b033f0e67ce26ad853 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 29 Mar 2006 13:40:35 +0000 Subject: [PATCH] =?UTF-8?q?d=E9placement=20du=20code=20NAF=20sur=20la=20de?= =?UTF-8?q?uxi=E8me=20ligne=20car=20suivant=20la=20config=20il=20pouvait?= =?UTF-8?q?=20chevaucher=20=20la=20num=E9rotation=20de=20la=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/modules/facture/pdf_crabe.modules.php | 6 +++--- .../includes/modules/propale/pdf_propale_azur.modules.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index 7bc3ef1477e..6b3d605f762 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -883,13 +883,13 @@ class pdf_crabe extends ModelePDFFactures { $ligne1.=($ligne1?" - ":"").$langs->transcountry("ProfId1",$this->emetteur->code_pays).": ".$conf->global->MAIN_INFO_SIREN; } + + // Deuxieme ligne d'info réglementaires + $ligne2=""; if ($conf->global->MAIN_INFO_APE) { $ligne1.=($ligne1?" - ":"").$langs->transcountry("ProfId3",$this->emetteur->code_pays).": ".MAIN_INFO_APE; } - - // Deuxieme ligne d'info réglementaires - $ligne2=""; if ($conf->global->MAIN_INFO_RCS) { $ligne2.=($ligne2?" - ":"").$langs->transcountry("ProfId4",$this->emetteur->code_pays).": ".$conf->global->MAIN_INFO_RCS; diff --git a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php index 70d7098d5a9..baf9e5cff53 100644 --- a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php +++ b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php @@ -801,13 +801,13 @@ class pdf_propale_azur extends ModelePDFPropales { $ligne1.=($ligne1?" - ":"").$langs->transcountry("ProfId1",$this->emetteur->code_pays).": ".$conf->global->MAIN_INFO_SIREN; } + + // Deuxieme ligne d'info réglementaires + $ligne2=""; if ($conf->global->MAIN_INFO_APE) { $ligne1.=($ligne1?" - ":"").$langs->transcountry("ProfId3",$this->emetteur->code_pays).": ".MAIN_INFO_APE; } - - // Deuxieme ligne d'info réglementaires - $ligne2=""; if ($conf->global->MAIN_INFO_RCS) { $ligne2.=($ligne2?" - ":"").$langs->transcountry("ProfId4",$this->emetteur->code_pays).": ".$conf->global->MAIN_INFO_RCS;