From aa55827bfcfc7a2b2fae49c363162caac868f807 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 13 Aug 2014 21:34:36 +0200 Subject: [PATCH] Made a boo boo in config file and added some extra's [skip ci] --- app/config/firefly.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/config/firefly.php b/app/config/firefly.php index c451814140..cb985a38c2 100644 --- a/app/config/firefly.php +++ b/app/config/firefly.php @@ -2,8 +2,9 @@ use Carbon\Carbon; return [ - 'index_periods' => '1D', '1W', '1M', '3M', '6M', 'custom', - 'budget_periods' => 'daily', 'weekly', 'monthly', 'quarterly', 'half-year', 'yearly', + 'index_periods' => ['1D', '1W', '1M', '3M', '6M', 'custom'], + 'budget_periods' => ['daily', 'weekly', 'monthly', 'quarterly', 'half-year', 'yearly'], + 'piggybank_periods' => ['day', 'week', 'month', 'year'], 'periods_to_text' => [ 'weekly' => 'A week', 'monthly' => 'A month', @@ -11,6 +12,7 @@ return [ 'half-year' => 'Six months', 'yearly' => 'A year', ], + 'range_to_text' => [ '1D' => 'day', '1W' => 'week',