Translations and fixes.

This commit is contained in:
James Cole
2016-06-11 06:31:40 +02:00
parent 5a79bc0a99
commit 13b92c47d9
4 changed files with 68 additions and 42 deletions

View File

@@ -51,22 +51,16 @@ class CsvImporter implements ImporterInterface
];
$data = [
'accounts' => ExpandedForm::makeSelectList($accounts),
'specifix' => [],
'delimiters' => $delimiters,
'accounts' => ExpandedForm::makeSelectList($accounts),
'specifix' => [],
'delimiters' => $delimiters,
'upload_path' => storage_path('upload'),
'is_upload_possible' => is_writable(storage_path('upload')),
];
return $data;
}
/**
* @param ImportJob $job
*/
public function setJob(ImportJob $job)
{
$this->job = $job;
}
/**
* Returns a Map thing used to allow the user to
* define roles for each entry.
@@ -78,4 +72,12 @@ class CsvImporter implements ImporterInterface
return 'do not work';
exit;
}
/**
* @param ImportJob $job
*/
public function setJob(ImportJob $job)
{
$this->job = $job;
}
}