Fix: Limit of RCS too small
This commit is contained in:
parent
40abbaa622
commit
4b5bcaa4c7
@ -558,7 +558,7 @@ $_GET["action"] == 'create' || $_POST["action"] == 'create')
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
else print '<td> </td><td> </td>';
|
else print '<td> </td><td> </td>';
|
||||||
// IdProf4 (NU pour France)
|
// IdProf4 (RCS pour France)
|
||||||
$idprof=$langs->transcountry('ProfId4',$soc->pays_code);
|
$idprof=$langs->transcountry('ProfId4',$soc->pays_code);
|
||||||
if ($idprof!='-')
|
if ($idprof!='-')
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2023,7 +2023,7 @@ class Societe extends CommonObject
|
|||||||
if ($idprof==1) $formlength=9;
|
if ($idprof==1) $formlength=9;
|
||||||
if ($idprof==2) $formlength=14;
|
if ($idprof==2) $formlength=14;
|
||||||
if ($idprof==3) $formlength=5; // 4 chiffres et 1 lettre depuis janvier
|
if ($idprof==3) $formlength=5; // 4 chiffres et 1 lettre depuis janvier
|
||||||
if ($idprof==4) $formlength=12;
|
if ($idprof==4) $formlength=32; // No maximum as we need to include a town name in this id
|
||||||
}
|
}
|
||||||
$selected=$preselected;
|
$selected=$preselected;
|
||||||
if (! $selected && $idprof==1) $selected=$this->siren;
|
if (! $selected && $idprof==1) $selected=$this->siren;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user