Colonne presentRCS déplacé après le SIREN NIC
This commit is contained in:
parent
801993cd0b
commit
0a7f3b7c6d
@ -125,6 +125,12 @@ $fields = $dico->getFields();
|
||||
$tabEntete = array('siren', 'nic');
|
||||
$tabEnteteLabel = array('SIREN', 'NIC');
|
||||
$columns = array('LPAD(siren, 9, 000000000) AS siren', 'LPAD(nic,5,00000) AS nic');
|
||||
|
||||
// --- Ajouter le champ presentRcs
|
||||
$columns[] = 'presentRcs';
|
||||
$tabEntete[] = 'presentRcs';
|
||||
$tabEnteteLabel[] = "Présent au RNCS";
|
||||
|
||||
$joins = array();
|
||||
foreach ( $dataProfil as $item ) {
|
||||
|
||||
@ -160,10 +166,6 @@ foreach ( $dataProfil as $item ) {
|
||||
}
|
||||
|
||||
}
|
||||
// --- Ajouter le champ presentRcs
|
||||
$columns[] = 'presentRcs';
|
||||
$tabEntete[] = 'presentRcs';
|
||||
$tabEnteteLabel[] = "Présent au RNCS";
|
||||
|
||||
$outFile = $profil->login.'_'.$id.'_'.date('YmdHis').'.csv';
|
||||
$fp = fopen($path.'/'.$outFile, 'w');
|
||||
|
Loading…
Reference in New Issue
Block a user