mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Fix some spelling errors.
This commit is contained in:
@@ -35,7 +35,7 @@ use Log;
|
||||
class Initial implements ConfigurationInterface
|
||||
{
|
||||
/**
|
||||
* @var
|
||||
* @var ImportJob
|
||||
*/
|
||||
private $job;
|
||||
|
||||
@@ -53,6 +53,11 @@ class Initial implements ConfigurationInterface
|
||||
'tab' => trans('form.csv_tab'),
|
||||
];
|
||||
|
||||
// update job with default date format:
|
||||
$config = $this->job->configuration;
|
||||
$config['date-format'] = 'Ymd';
|
||||
$this->job->configuration = $config;
|
||||
$this->job->save();
|
||||
$specifics = [];
|
||||
|
||||
// collect specifics.
|
||||
@@ -68,6 +73,7 @@ class Initial implements ConfigurationInterface
|
||||
'specifix' => [],
|
||||
'delimiters' => $delimiters,
|
||||
'specifics' => $specifics,
|
||||
|
||||
];
|
||||
|
||||
return $data;
|
||||
|
@@ -55,7 +55,6 @@ class Roles implements ConfigurationInterface
|
||||
{
|
||||
$config = $this->job->configuration;
|
||||
$content = $this->job->uploadFileContents();
|
||||
$config['has-headers'] = true;
|
||||
$headers = [];
|
||||
$offset = 0;
|
||||
// create CSV reader.
|
||||
@@ -272,7 +271,7 @@ class Roles implements ConfigurationInterface
|
||||
if ('_ignore' !== $role) {
|
||||
++$assigned;
|
||||
}
|
||||
if (in_array($role, ['amount', 'amount_credit', 'amount_debet'])) {
|
||||
if (in_array($role, ['amount', 'amount_credit', 'amount_debit'])) {
|
||||
$hasAmount = true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user