Some new stuff for budget management. [skip ci]

This commit is contained in:
James Cole
2014-07-24 22:16:42 +02:00
parent 36901359d0
commit a40b281ea3
19 changed files with 317 additions and 156 deletions

39
app/config/firefly.php Normal file
View File

@@ -0,0 +1,39 @@
<?php
return [
'index_periods' => '1D', '1W', '1M', '3M', '6M', 'custom',
'budget_periods' => 'daily', 'weekly', 'monthly', 'quarterly', 'half-year', 'yearly',
'periods_to_text' => [
'weekly' => 'A week',
'monthly' => 'A month',
'quarterly' => 'A quarter',
'half-year' => 'Six months',
'yearly' => 'A year',
],
'range_to_text' => [
'1D' => 'day',
'1W' => 'week',
'1M' => 'month',
'3M' => 'three months',
'6M' => 'half year',
'custom' => '(custom)'
],
'range_to_repeat_freq' => [
'1D' => 'weekly',
'1W' => 'weekly',
'1M' => 'monthly',
'3M' => 'quarterly',
'6M' => 'half-year',
'custom' => 'monthly'
],
'date_formats_by_period' => [
'monthly' => [
'group_date' => 'Y-m',
'display_date' => 'F Y'
],
'weekly' => [
'group_date' => 'Y-W',
'display_date' => '\W\e\e\k W, Y'
]
]
];