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;