Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Some more bug fixes.
James Cole6798cea26826
diff --git a/app/controllers/BudgetController.php b/app/controllers/BudgetController.phpindex 157c711ce6..4a35bf32a4 100644--- a/app/controllers/BudgetController.php+++ b/app/controllers/BudgetController.php@@ -25,7 +25,7 @@ class BudgetController extends BaseController{$this->_budgets = $budgets;$this->_repository = $repository;- View::share('title','Budgets');+ View::share('title', 'Budgets');View::share('mainTitleIcon', 'fa-tasks');}@@ -158,7 +158,7 @@ class BudgetController extends BaseController->with('view', $view)->with('highlight', Input::get('highlight'))->with('useSessionDates', $useSessionDates)- ->with('subTitle', 'Overview for '.$title);+ ->with('subTitle', 'Overview for ' . $title);}/**diff --git a/app/controllers/TransactionController.php b/app/controllers/TransactionController.phpindex e3860f2c73..63b3b34af0 100644--- a/app/controllers/TransactionController.php+++ b/app/controllers/TransactionController.php@@ -14,9 +14,8 @@ use Firefly\Storage\TransactionJournal\TransactionJournalRepositoryInterface asclass TransactionController extends BaseController{- protected $_repository;-protected $_helper;+ protected $_repository;/*** Construct a new transaction controller with two of the most often used helpers.@@ -236,14 +235,6 @@ class TransactionController extends BaseController)->with('what', 'revenue');}- public function transfers()- {- return View::make('transactions.list')->with('subTitle', 'Transfers')->with(- 'subTitleIcon', 'fa-arrows-h'- )->with('what', 'transfers');-- }-/*** @param TransactionJournal $journal*@@ -307,6 +298,14 @@ class TransactionController extends BaseController}}+ public function transfers()+ {+ return View::make('transactions.list')->with('subTitle', 'Transfers')->with(+ 'subTitleIcon', 'fa-arrows-h'+ )->with('what', 'transfers');++ }+/*** @param TransactionJournal $journal*@@ -317,7 +316,7 @@ class TransactionController extends BaseControllerswitch (Input::get('post_submit_action')) {case 'store':case 'return_to_edit':- $what = strtolower($journal->transactionType->type);+ $what = strtolower($journal->transactionType->type);$messageBag = $this->_helper->update($journal, Input::all());if ($messageBag->count() == 0) {// has been saved, return to index:diff --git a/app/lib/Firefly/Helper/Controllers/Budget.php b/app/lib/Firefly/Helper/Controllers/Budget.phpindex a9e092c7c8..6d213b3f81 100644--- a/app/lib/Firefly/Helper/Controllers/Budget.php+++ b/app/lib/Firefly/Helper/Controllers/Budget.php@@ -34,7 +34,7 @@ class Budget implements BudgetInterface/** @var \LimitRepetition $repetition */foreach ($limit->limitrepetitions as $repetition) {- $repetition->left = $repetition->left();+ $repetition->left = $repetition->leftInRepetition();$periodOrder = $repetition->periodOrder();$period = $repetition->periodShow();if (!isset($return[$periodOrder])) {