Commit 8335b52d authored by Fabrice Gangler's avatar Fabrice Gangler 🎨
Browse files

FEAT(export users): add user ID

parent 8d2ee9c1
......@@ -520,6 +520,7 @@ class UsersController extends AppController
if ($providedForSoftwareNumber === 0) {
$providedForSoftwareNumber = '';
}
$csvData .= ''. $user->id .';';
$csvData .= '"'. $user->user_type->cd .'";';
$csvData .= '"'. $user->username .'";';
$csvData .= '' . $user->created .';';
......@@ -533,6 +534,7 @@ class UsersController extends AppController
$csvData .= "\n";
}
$csvHead = '';
$csvHead .= "\"id\";";
$csvHead .= "\"type\";";
$csvHead .= "\"name\";";
$csvHead .= "\"created\";";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment