fixed issue #0000098 : affichage autres identifications
This commit is contained in:
parent
d471d18235
commit
09613a55bf
@ -642,6 +642,28 @@ function normaliseVoie($voie) {
|
||||
}
|
||||
}
|
||||
|
||||
function identite_autresiren($liste)
|
||||
{
|
||||
global $firephp;
|
||||
$typeLib = array('doublon'=>'Doublon Insee');
|
||||
$return = false;
|
||||
if(count($liste)>0)
|
||||
{
|
||||
$lib = 'Autre(s) identifications';
|
||||
$data = '';
|
||||
foreach($liste as $doublon)
|
||||
{
|
||||
|
||||
if(array_key_exists($doublon['type'], $typeLib))
|
||||
{
|
||||
$data.= '<a href="./?page=identite&siret='.$doublon['siren'].'">'.substr($doublon['siren'],0,3).' '.substr($doublon['siren'],3,3).' '.substr($doublon['siren'],6,3).'</a> ('.$typeLib[$doublon['type']].')';
|
||||
}
|
||||
}
|
||||
if($data!='') $return = array($lib, $data);
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
function identite_infogeo($geoPrecis, $geoLat, $geoLong, $ville, $num, $voie, $rue, $cp)
|
||||
{
|
||||
|
||||
|
@ -80,9 +80,14 @@ if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
||||
$element = formatElement('identite', 'actif', array($etab['Siren'], $siret, $idEntreprise, $etab['Siege'], $etab['Actif'], $etab['DateClotEt']));
|
||||
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
||||
|
||||
//Situation Jurique + affichage date de radiation
|
||||
//Situation Juridique + affichage date de radiation
|
||||
$element = formatElement('identite', 'situationjuridique', array($etab['SituationJuridique'], $etab['DateRadiation'], $etab['Siret'], $idEntreprise));
|
||||
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
||||
|
||||
//Doublon
|
||||
$element = formatElement('identite', 'autresiren', array($etab['AutreSiren']));
|
||||
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
||||
|
||||
?>
|
||||
</table>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user