2015-02-06 12:33:31 -06:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
2015-12-22 13:46:16 -06:00
|
|
|
'chart' => 'chartjs',
|
2016-01-09 07:27:17 -06:00
|
|
|
'version' => '3.6.1',
|
2015-12-22 13:46:16 -06:00
|
|
|
'index_periods' => ['1D', '1W', '1M', '3M', '6M', '1Y', 'custom'],
|
|
|
|
'budget_periods' => ['daily', 'weekly', 'monthly', 'quarterly', 'half-year', 'yearly'],
|
|
|
|
'csv_import_enabled' => true,
|
|
|
|
'maxUploadSize' => 5242880,
|
|
|
|
'allowedMimes' => ['image/png', 'image/jpeg', 'application/pdf'],
|
|
|
|
'piggy_bank_periods' => [
|
2015-02-06 12:33:31 -06:00
|
|
|
'week' => 'Week',
|
|
|
|
'month' => 'Month',
|
|
|
|
'quarter' => 'Quarter',
|
|
|
|
'year' => 'Year'
|
|
|
|
],
|
2015-12-22 13:46:16 -06:00
|
|
|
'periods_to_text' => [
|
2015-02-06 12:33:31 -06:00
|
|
|
'weekly' => 'A week',
|
|
|
|
'monthly' => 'A month',
|
|
|
|
'quarterly' => 'A quarter',
|
|
|
|
'half-year' => 'Six months',
|
|
|
|
'yearly' => 'A year',
|
|
|
|
],
|
|
|
|
|
2015-12-22 13:46:16 -06:00
|
|
|
'accountRoles' => [
|
2015-03-02 04:27:46 -06:00
|
|
|
'defaultAsset' => 'Default asset account',
|
2015-03-20 17:17:59 -05:00
|
|
|
'sharedAsset' => 'Shared asset account',
|
2015-04-03 14:12:54 -05:00
|
|
|
'savingAsset' => 'Savings account',
|
2015-05-14 02:52:58 -05:00
|
|
|
'ccAsset' => 'Credit card',
|
2015-02-06 12:33:31 -06:00
|
|
|
],
|
|
|
|
|
2015-02-07 16:19:28 -06:00
|
|
|
'range_to_text' => [
|
2015-02-06 12:33:31 -06:00
|
|
|
'1D' => 'day',
|
|
|
|
'1W' => 'week',
|
|
|
|
'1M' => 'month',
|
|
|
|
'3M' => 'three months',
|
|
|
|
'6M' => 'half year',
|
|
|
|
'custom' => '(custom)'
|
|
|
|
],
|
2015-05-14 02:52:58 -05:00
|
|
|
'ccTypes' => [
|
2015-04-03 15:54:21 -05:00
|
|
|
'monthlyFull' => 'Full payment every month'
|
|
|
|
],
|
2015-02-07 16:19:28 -06:00
|
|
|
'range_to_name' => [
|
2015-02-06 12:33:31 -06:00
|
|
|
'1D' => 'one day',
|
|
|
|
'1W' => 'one week',
|
|
|
|
'1M' => 'one month',
|
|
|
|
'3M' => 'three months',
|
|
|
|
'6M' => 'six months',
|
|
|
|
'1Y' => 'one year',
|
|
|
|
],
|
2015-02-07 16:19:28 -06:00
|
|
|
'range_to_repeat_freq' => [
|
2015-02-06 12:33:31 -06:00
|
|
|
'1D' => 'weekly',
|
|
|
|
'1W' => 'weekly',
|
|
|
|
'1M' => 'monthly',
|
|
|
|
'3M' => 'quarterly',
|
|
|
|
'6M' => 'half-year',
|
|
|
|
'custom' => 'monthly'
|
|
|
|
],
|
2015-02-07 16:19:28 -06:00
|
|
|
'subTitlesByIdentifier' =>
|
|
|
|
[
|
|
|
|
'asset' => 'Asset accounts',
|
|
|
|
'expense' => 'Expense accounts',
|
|
|
|
'revenue' => 'Revenue accounts',
|
2015-06-27 01:06:24 -05:00
|
|
|
'cash' => 'Cash accounts',
|
2015-02-07 16:19:28 -06:00
|
|
|
],
|
|
|
|
'subIconsByIdentifier' =>
|
|
|
|
[
|
|
|
|
'asset' => 'fa-money',
|
|
|
|
'Asset account' => 'fa-money',
|
|
|
|
'Default account' => 'fa-money',
|
|
|
|
'Cash account' => 'fa-money',
|
|
|
|
'expense' => 'fa-shopping-cart',
|
|
|
|
'Expense account' => 'fa-shopping-cart',
|
|
|
|
'Beneficiary account' => 'fa-shopping-cart',
|
|
|
|
'revenue' => 'fa-download',
|
|
|
|
'Revenue account' => 'fa-download',
|
|
|
|
],
|
|
|
|
'accountTypesByIdentifier' =>
|
|
|
|
[
|
|
|
|
'asset' => ['Default account', 'Asset account'],
|
|
|
|
'expense' => ['Expense account', 'Beneficiary account'],
|
|
|
|
'revenue' => ['Revenue account'],
|
|
|
|
],
|
2015-02-14 07:25:29 -06:00
|
|
|
'accountTypeByIdentifier' =>
|
2015-02-09 00:23:39 -06:00
|
|
|
[
|
2015-05-14 02:52:58 -05:00
|
|
|
'asset' => 'Asset account',
|
|
|
|
'expense' => 'Expense account',
|
2015-08-15 14:42:45 -05:00
|
|
|
'revenue' => 'Revenue account',
|
|
|
|
'opening' => 'Initial balance account',
|
|
|
|
'initial' => 'Initial balance account',
|
2015-02-09 00:23:39 -06:00
|
|
|
],
|
2015-02-14 07:25:29 -06:00
|
|
|
'shortNamesByFullName' =>
|
|
|
|
[
|
|
|
|
'Default account' => 'asset',
|
|
|
|
'Asset account' => 'asset',
|
|
|
|
'Expense account' => 'expense',
|
|
|
|
'Beneficiary account' => 'expense',
|
|
|
|
'Revenue account' => 'revenue',
|
|
|
|
'Cash account' => 'cash',
|
2015-05-14 02:52:58 -05:00
|
|
|
],
|
2016-01-12 13:38:19 -06:00
|
|
|
'languages' => [
|
2015-12-24 01:20:47 -06:00
|
|
|
'en_US' => ['name_locale' => 'English', 'name_english' => 'English', 'complete' => true],
|
|
|
|
'nl_NL' => ['name_locale' => 'Nederlands', 'name_english' => 'Dutch', 'complete' => true],
|
|
|
|
'pt_BR' => ['name_locale' => 'Português do Brasil', 'name_english' => 'Portugese (Brazil)', 'complete' => false],
|
|
|
|
'fr_FR' => ['name_locale' => 'Français', 'name_english' => 'French', 'complete' => false],
|
|
|
|
],
|
2015-05-14 02:52:58 -05:00
|
|
|
'lang' => [
|
2015-12-19 13:54:27 -06:00
|
|
|
'en_US' => 'English',
|
2015-12-20 01:20:50 -06:00
|
|
|
'nl_NL' => 'Nederlands',
|
2015-12-22 13:46:16 -06:00
|
|
|
'fr_FR' => 'Français',
|
2015-12-20 01:20:50 -06:00
|
|
|
'pt_BR' => 'Português do Brasil',
|
2015-05-14 02:52:58 -05:00
|
|
|
],
|
2015-05-14 06:41:21 -05:00
|
|
|
'locales' => [
|
2015-12-19 13:54:27 -06:00
|
|
|
'en_US' => ['en', 'English', 'en_US', 'en_US.utf8'],
|
|
|
|
'nl_NL' => ['nl', 'Dutch', 'nl_NL', 'nl_NL.utf8'],
|
2015-12-22 13:46:16 -06:00
|
|
|
'pt_BR' => ['pt_BR', 'pt_BR.utf8'],
|
|
|
|
'fr_FR' => ['fr_FR', 'fr_FR.utf8'],
|
2015-05-14 06:41:21 -05:00
|
|
|
],
|
2015-07-06 15:12:35 -05:00
|
|
|
'transactionTypesByWhat' => [
|
|
|
|
'expenses' => ['Withdrawal'],
|
|
|
|
'withdrawal' => ['Withdrawal'],
|
|
|
|
'revenue' => ['Deposit'],
|
|
|
|
'deposit' => ['Deposit'],
|
|
|
|
'transfer' => ['Transfer'],
|
|
|
|
'transfers' => ['Transfer'],
|
|
|
|
],
|
|
|
|
'transactionIconsByWhat' => [
|
|
|
|
'expenses' => 'fa-long-arrow-left',
|
|
|
|
'withdrawal' => 'fa-long-arrow-left',
|
|
|
|
'revenue' => 'fa-long-arrow-right',
|
|
|
|
'deposit' => 'fa-long-arrow-right',
|
|
|
|
'transfer' => 'fa-exchange',
|
|
|
|
'transfers' => 'fa-exchange',
|
|
|
|
|
|
|
|
],
|
|
|
|
|
2015-12-22 13:46:16 -06:00
|
|
|
'month' => [
|
2015-12-19 13:54:27 -06:00
|
|
|
'en_US' => '%B %Y',
|
|
|
|
'nl_NL' => '%B %Y',
|
2015-12-22 13:46:16 -06:00
|
|
|
'fr_FR' => '%B %Y',
|
|
|
|
'pt_BR' => '%B %Y',
|
2015-05-14 06:41:21 -05:00
|
|
|
],
|
2015-12-22 13:46:16 -06:00
|
|
|
'monthAndDay' => [
|
2015-12-19 13:54:27 -06:00
|
|
|
'en_US' => '%B %e, %Y',
|
|
|
|
'nl_NL' => '%e %B %Y',
|
2015-12-22 13:46:16 -06:00
|
|
|
'fr_FR' => '%B %e, %Y',
|
|
|
|
'pt_BR' => '%B %e, %Y',
|
2015-05-14 06:41:21 -05:00
|
|
|
],
|
2016-01-12 13:38:19 -06:00
|
|
|
'bindables' => [
|
|
|
|
// models
|
|
|
|
'account' => 'FireflyIII\Models\Account',
|
|
|
|
'attachment' => 'FireflyIII\Models\Attachment',
|
|
|
|
'bill' => 'FireflyIII\Models\Bill',
|
|
|
|
'budget' => 'FireflyIII\Models\Budget',
|
|
|
|
'category' => 'FireflyIII\Models\Category',
|
|
|
|
'currency' => 'FireflyIII\Models\TransactionCurrency',
|
|
|
|
'limitrepetition' => 'FireflyIII\Models\LimitRepetition',
|
|
|
|
'piggyBank' => 'FireflyIII\Models\PiggyBank',
|
|
|
|
'tj' => 'FireflyIII\Models\TransactionJournal',
|
|
|
|
'tag' => 'FireflyIII\Models\Tag',
|
|
|
|
// lists
|
|
|
|
'accountList' => 'FireflyIII\Support\Binder\AccountList',
|
|
|
|
'budgetList' => 'FireflyIII\Support\Binder\BudgetList',
|
|
|
|
'categoryList' => 'FireflyIII\Support\Binder\CategoryList',
|
|
|
|
|
|
|
|
// others
|
|
|
|
'start_date' => 'FireflyIII\Support\Binder\Date',
|
|
|
|
'end_date' => 'FireflyIII\Support\Binder\Date'
|
|
|
|
],
|
|
|
|
|
2016-01-12 13:36:47 -06:00
|
|
|
'rule-triggers' => [
|
2016-01-13 00:47:26 -06:00
|
|
|
'user_action' => 'FireflyIII\Rules\Triggers\UserAction',
|
2016-01-13 07:02:22 -06:00
|
|
|
'from_account_starts' => 'FireflyIII\Rules\Triggers\FromAccountStarts',
|
|
|
|
'from_account_ends' => 'FireflyIII\Rules\Triggers\FromAccountEnds',
|
2016-01-13 00:47:26 -06:00
|
|
|
'from_account_is' => 'FireflyIII\Rules\Triggers\FromAccountIs',
|
2016-01-13 07:05:26 -06:00
|
|
|
'from_account_contains' => 'FireflyIII\Rules\Triggers\FromAccountContains',
|
2016-01-13 07:12:46 -06:00
|
|
|
'to_account_starts' => 'FireflyIII\Rules\Triggers\ToAccountStarts',
|
|
|
|
'to_account_ends' => 'FireflyIII\Rules\Triggers\ToAccountEnds',
|
|
|
|
'to_account_is' => 'FireflyIII\Rules\Triggers\ToAccountIs',
|
|
|
|
'to_account_contains' => 'FireflyIII\Rules\Triggers\ToAccountContains',
|
|
|
|
'transaction_type' => 'FireflyIII\Rules\Triggers\TransactionType',
|
2016-01-13 07:37:19 -06:00
|
|
|
'amount_less' => 'FireflyIII\Rules\Triggers\AmountLess',
|
|
|
|
'amount_exactly' => 'FireflyIII\Rules\Triggers\AmountExactly',
|
|
|
|
'amount_more' => 'FireflyIII\Rules\Triggers\AmountMore',
|
|
|
|
'description_starts' => 'FireflyIII\Rules\Triggers\DescriptionStarts',
|
2016-01-13 08:10:49 -06:00
|
|
|
'description_ends' => 'FireflyIII\Rules\Triggers\DescriptionEnds',
|
2016-01-13 00:47:26 -06:00
|
|
|
'description_contains' => 'FireflyIII\Rules\Triggers\DescriptionContains',
|
2016-01-13 08:10:49 -06:00
|
|
|
'description_is' => 'FireflyIII\Rules\Triggers\DescriptionIs',
|
2016-01-12 14:09:28 -06:00
|
|
|
],
|
|
|
|
'rule-actions' => [
|
2016-01-13 01:14:14 -06:00
|
|
|
'set_category' => 'FireflyIII\Rules\Actions\SetCategory',
|
2016-01-13 08:10:49 -06:00
|
|
|
'clear_category' => 'FireflyIII\Rules\Actions\ClearCategory',
|
2016-01-13 01:14:14 -06:00
|
|
|
'set_budget' => 'FireflyIII\Rules\Actions\SetBudget',
|
2016-01-13 08:10:49 -06:00
|
|
|
'clear_budget' => 'FireflyIII\Rules\Actions\ClearBudget',
|
|
|
|
'add_tag' => 'FireflyIII\Rules\Actions\AddTag',
|
|
|
|
'remove_tag' => 'FireflyIII\Rules\Actions\RemoveTag',
|
|
|
|
'remove_all_tags' => 'FireflyIII\Rules\Actions\RemoveAllTags',
|
|
|
|
'set_description' => 'FireflyIII\Rules\Actions\SetDescription',
|
|
|
|
'append_description' => 'FireflyIII\Rules\Actions\AppendDescription',
|
|
|
|
'prepend_description' => 'FireflyIII\Rules\Actions\PrependDescription',
|
2016-01-12 13:36:47 -06:00
|
|
|
],
|
|
|
|
|
2015-02-06 12:33:31 -06:00
|
|
|
];
|