log($etab, 'etab'); //Enregistrement des elements dans la session $tabEntrep = array(); $tabEntrep['raisonSociale'] = $etab['Nom']; $tabEntrep['id'] = $etab['id']; $tabEntrep['siren'] = $etab['Siren']; $tabEntrep['siret'] = $etab['Siret']; $tabEntrep['tva'] = $etab['TvaNumero']; if (isset($etab['Isin'])) { $tabEntrep['isin'] = $etab['Isin']; } $tabEntrep['AutreId'] = $etab['AutreId']; if (isset($etab['Statut'])) { $tabEntrep['active'] = $etab['Statut']; } $tabEntrep['Source'] = $etab['Source']; $tabEntrep['SourceId'] = $etab['SourceId']; // Utilise pour les compétences territoriale $tabEntrep['codeCommune'] = $etab['Dept'].$etab['codeCommune']; $tabEntrep['nafEn'] = $etab['NafEnt']; $tabEntrep['nafEnLib'] = $etab['NafEntLib']; $tabEntrep['nafEt'] = $etab['NafEtab']; $tabEntrep['nafEtLib'] = $etab['NafEtabLib']; $tabEntrep['fj'] = $etab['FJ']; $tabEntrep['Dept'] = $etab['Dept']; $_SESSION['tabInfo']['entrep'] = $tabEntrep;