Change key name
This commit is contained in:
parent
1a3d6229e8
commit
ac39391b52
@ -256,7 +256,7 @@ $tabDico = array(
|
||||
'participations',
|
||||
'annoncetxt',
|
||||
'groupes',
|
||||
'etablissements'
|
||||
'etablissementliste'
|
||||
),
|
||||
);
|
||||
|
||||
@ -1984,15 +1984,15 @@ function groupesChildren($tab, $level)
|
||||
return $result;
|
||||
}
|
||||
|
||||
function etablissementsEntete()
|
||||
function etablissementlisteEntete()
|
||||
{
|
||||
return array(
|
||||
'SIRET',
|
||||
'SIEGE',
|
||||
'ACTIF',
|
||||
'etabSIRET',
|
||||
'etabSIEGE',
|
||||
'etabACTIF',
|
||||
);
|
||||
}
|
||||
function etablissementsMultiple($siren, $nic, $values = false)
|
||||
function etablissementlisteMultiple($siren, $nic, $values = false)
|
||||
{
|
||||
global $iDb;
|
||||
$mInsee = new MInsee($iDb);
|
||||
@ -2001,9 +2001,9 @@ function etablissementsMultiple($siren, $nic, $values = false)
|
||||
if (count($result) > 0) {
|
||||
foreach ($result as $r) {
|
||||
$tabData[] = array(
|
||||
'SIRET' => $result['Siret'],
|
||||
'SIEGE' => $result['Siege'],
|
||||
'ACTIF' => $result['Actif'],
|
||||
'etabSIRET' => $result['Siret'],
|
||||
'etabSIEGE' => $result['Siege'],
|
||||
'etabACTIF' => $result['Actif'],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user