New stuff and fix for transaction controller [skip ci]

This commit is contained in:
James Cole
2014-07-29 20:30:50 +02:00
parent 9af2b47463
commit 8dcaaeade7
17 changed files with 1418 additions and 409 deletions

View File

@@ -54,9 +54,6 @@ class HomeController extends BaseController
}
// get the budgets for this period:
$budgets = $this->_budgets->getWithRepetitionsInPeriod($start, \Session::get('range'));
$transactions = [];
foreach ($accounts as $account) {
$set = $this->_journal->getByAccountInDateRange($account, 15, $start, $end);
@@ -74,9 +71,7 @@ class HomeController extends BaseController
}
// build the home screen:
return View::make('index')->with('count', $count)->with('transactions', $transactions)->with(
'budgets', $budgets
);
return View::make('index')->with('count', $count)->with('transactions', $transactions);
}
/**