Skip to content
Snippets Groups Projects
Commit 973aa6e9 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[TASK] Improve the csv filename

parent 142a5b1b
No related branches found
No related tags found
No related merge requests found
......@@ -192,7 +192,8 @@ class JoblistController extends ActionController {
*/
private function submitApplicationFiles(JobApplication $applicationData, $folderName) {
$resourceFactory = $this->objectManager->get(ResourceFactory::class);
$newName = date('Ymd-His') . '_' . $applicationData->getFirstName();
$newName = date('Ymd-His') . '_' . $applicationData->getJobId() . '-' . $applicationData->getFirstName()
. '-' . $applicationData->getLastName();
$storage = $resourceFactory->getStorageObject(1);
$applicationFilePath = PATH_site . $storage->getConfiguration()['basePath'] . 'JobApplication/' . $folderName .
'/' . $newName . '.csv';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment