diff --git a/htdocs/admin/index.php b/htdocs/admin/index.php index cbcf5559245..54a6079b4ad 100644 --- a/htdocs/admin/index.php +++ b/htdocs/admin/index.php @@ -342,41 +342,53 @@ else print ''; // ProfId1 - $var=!$var; - print ''.$langs->transcountry("ProfId1",$code_pays).''; if ($langs->transcountry("ProfId1",$code_pays) != '-') { - print $conf->global->MAIN_INFO_SIREN; + $var=!$var; + print ''.$langs->transcountry("ProfId1",$code_pays).''; + if ($langs->transcountry("ProfId1",$code_pays) != '-') + { + print $conf->global->MAIN_INFO_SIREN; + } + print ''; } - print ''; - + // ProfId2 - $var=!$var; - print ''.$langs->transcountry("ProfId2",$code_pays).''; if ($langs->transcountry("ProfId2",$code_pays) != '-') { - print $conf->global->MAIN_INFO_SIRET; + $var=!$var; + print ''.$langs->transcountry("ProfId2",$code_pays).''; + if ($langs->transcountry("ProfId2",$code_pays) != '-') + { + print $conf->global->MAIN_INFO_SIRET; + } + print ''; } - print ''; - + // ProfId3 - $var=!$var; - print ''.$langs->transcountry("ProfId3",$code_pays).''; if ($langs->transcountry("ProfId3",$code_pays) != '-') { - print $conf->global->MAIN_INFO_APE; + $var=!$var; + print ''.$langs->transcountry("ProfId3",$code_pays).''; + if ($langs->transcountry("ProfId3",$code_pays) != '-') + { + print $conf->global->MAIN_INFO_APE; + } + print ''; } - print ''; - + // ProfId4 - $var=!$var; - print ''.$langs->transcountry("ProfId4",$code_pays).''; if ($langs->transcountry("ProfId4",$code_pays) != '-') { - print $conf->global->MAIN_INFO_RCS; + $var=!$var; + print ''.$langs->transcountry("ProfId4",$code_pays).''; + if ($langs->transcountry("ProfId4",$code_pays) != '-') + { + print $conf->global->MAIN_INFO_RCS; + } + print ''; } - print ''; - + // TVA Intracommunautaire $var=!$var; print ''.$langs->trans("TVAIntra").'' . $conf->global->MAIN_INFO_TVAINTRA . '';