@@ -305,6 +305,8 @@ class event
db::query("SELECT "
. "" . DB_T_SALARIES . ".id, "
. "" . DB_T_SALARIES . ".loginId, "
+ . "" . DB_T_SALARIES . ".idLocal, "
+ . "" . DB_T_SALARIES . ".jourEntree, "
. "" . DB_T_SALARIES . ".nom, "
. "" . DB_T_SALARIES . ".prenom, "
. "" . DB_T_SALARIES . ".sexe, "
@@ -9,7 +9,20 @@ if (core::ifGet("from") AND core::getGet("from") == "event-export-inscription")
$tmpList = 'inscripts-evenement-' . core::getGet("id") . '.csv';
$csv = fopen(DIR_TEMP . $tmpList , 'w');
- fputcsv($csv, array("id", "loginId", "nom", "prenom", "sexe", "contrat", "lieu", "actif", "id_evenement", "present"), ";");
+ fputcsv($csv, array(
+ "id",
+ "loginId",
+ "idLocal",
+ "jourEntree",
+ "nom",
+ "prenom",
+ "sexe",
+ "contrat",
+ "lieu",
+ "actif",
+ "id_evenement",
+ "present"),
+ ";");
foreach ($row as $fields) {
fputcsv($csv, $fields, ";");
@@ -27,5 +40,4 @@ if (core::ifGet("from") AND core::getGet("from") == "event-export-inscription")
} else {
header('HTTP/1.0 401 Unauthorized');
exit();
-}
-
+}