Affiche les bons identifiants réglementaires de société et dans la bonne langue en fonction de chaque pays.
This commit is contained in:
parent
5aa7818890
commit
70e8c23317
@ -160,68 +160,68 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit')
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// ProfID1
|
// ProfID1
|
||||||
$var=!$var;
|
if ($langs->transcountry("ProfId1",$code_pays) != '-')
|
||||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId1",$code_pays).'</td><td>';
|
|
||||||
if ($conf->global->MAIN_INFO_SOCIETE_PAYS)
|
|
||||||
{
|
{
|
||||||
if ($langs->transcountry("ProfId1",$code_pays) != '-')
|
$var=!$var;
|
||||||
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId1",$code_pays).'</td><td>';
|
||||||
|
if ($conf->global->MAIN_INFO_SOCIETE_PAYS)
|
||||||
{
|
{
|
||||||
print '<input name="siren" size="20" value="' . $conf->global->MAIN_INFO_SIREN . '">';
|
print '<input name="siren" size="20" value="' . $conf->global->MAIN_INFO_SIREN . '">';
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print $countrynotdefined;
|
||||||
|
}
|
||||||
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
print $countrynotdefined;
|
|
||||||
}
|
|
||||||
print '</td></tr>';
|
|
||||||
|
|
||||||
// ProfId2
|
// ProfId2
|
||||||
$var=!$var;
|
if ($langs->transcountry("ProfId2",$code_pays) != '-')
|
||||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId2",$code_pays).'</td><td>';
|
|
||||||
if ($conf->global->MAIN_INFO_SOCIETE_PAYS)
|
|
||||||
{
|
{
|
||||||
if ($langs->transcountry("ProfId2",$code_pays) != '-')
|
$var=!$var;
|
||||||
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId2",$code_pays).'</td><td>';
|
||||||
|
if ($conf->global->MAIN_INFO_SOCIETE_PAYS)
|
||||||
{
|
{
|
||||||
print '<input name="siret" size="20" value="' . $conf->global->MAIN_INFO_SIRET . '">';
|
print '<input name="siret" size="20" value="' . $conf->global->MAIN_INFO_SIRET . '">';
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print $countrynotdefined;
|
||||||
|
}
|
||||||
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
print $countrynotdefined;
|
|
||||||
}
|
|
||||||
print '</td></tr>';
|
|
||||||
|
|
||||||
// ProfId3
|
// ProfId3
|
||||||
$var=!$var;
|
if ($langs->transcountry("ProfId3",$code_pays) != '-')
|
||||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId3",$code_pays).'</td><td>';
|
|
||||||
if ($conf->global->MAIN_INFO_SOCIETE_PAYS)
|
|
||||||
{
|
{
|
||||||
if ($langs->transcountry("ProfId3",$code_pays) != '-')
|
$var=!$var;
|
||||||
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId3",$code_pays).'</td><td>';
|
||||||
|
if ($conf->global->MAIN_INFO_SOCIETE_PAYS)
|
||||||
{
|
{
|
||||||
print '<input name="ape" size="20" value="' . $conf->global->MAIN_INFO_APE . '">';
|
print '<input name="ape" size="20" value="' . $conf->global->MAIN_INFO_APE . '">';
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print $countrynotdefined;
|
||||||
|
}
|
||||||
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
print $countrynotdefined;
|
|
||||||
}
|
|
||||||
print '</td></tr>';
|
|
||||||
|
|
||||||
// ProfId4
|
// ProfId4
|
||||||
$var=!$var;
|
if ($langs->transcountry("ProfId4",$code_pays) != '-')
|
||||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId4",$code_pays).'</td><td>';
|
|
||||||
if ($conf->global->MAIN_INFO_SOCIETE_PAYS)
|
|
||||||
{
|
{
|
||||||
if ($langs->transcountry("ProfId4",$code_pays) != '-')
|
$var=!$var;
|
||||||
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId4",$code_pays).'</td><td>';
|
||||||
|
if ($conf->global->MAIN_INFO_SOCIETE_PAYS)
|
||||||
{
|
{
|
||||||
print '<input name="rcs" size="20" value="' . $conf->global->MAIN_INFO_RCS . '">';
|
print '<input name="rcs" size="20" value="' . $conf->global->MAIN_INFO_RCS . '">';
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print $countrynotdefined;
|
||||||
|
}
|
||||||
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
print $countrynotdefined;
|
|
||||||
}
|
|
||||||
print '</td></tr>';
|
|
||||||
|
|
||||||
// TVA Intra
|
// TVA Intra
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user