mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
For more clarity in the code, moved the array of options to the controller itself.
This commit is contained in:
parent
dc9083a764
commit
4f6a733238
@ -170,6 +170,13 @@ class CsvController extends Controller
|
|||||||
$specifix[$entry] = trans('firefly.csv_specifix_' . $entry);
|
$specifix[$entry] = trans('firefly.csv_specifix_' . $entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// get a list of delimiters:
|
||||||
|
$delimiters = [
|
||||||
|
',' => trans('form.csv_comma'),
|
||||||
|
';' => trans('form.csv_semicolon'),
|
||||||
|
'tab' => trans('form.csv_tab')
|
||||||
|
];
|
||||||
|
|
||||||
// get a list of asset accounts:
|
// get a list of asset accounts:
|
||||||
$accounts = ExpandedForm::makeSelectList($repository->getAccounts(['Asset account', 'Default account']));
|
$accounts = ExpandedForm::makeSelectList($repository->getAccounts(['Asset account', 'Default account']));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user