Included tests for the category controller.

This commit is contained in:
James Cole
2015-04-05 19:43:20 +02:00
parent 9136e592d3
commit 22ab9ebb2f
6 changed files with 341 additions and 43 deletions

View File

@@ -155,7 +155,7 @@ class BudgetController extends Controller
$start = Session::get('start', Carbon::now()->startOfMonth());
$end = Session::get('end', Carbon::now()->startOfMonth());
$list = $repository->getWithoutBudget($start, $end);
$subTitle = 'Transactions without a budget in ' . $start->format('F Y');
$subTitle = 'Transactions without a budget between ' . $start->format('jS F Y') . ' and ' . $end->format('jS F Y');
return view('budgets.noBudget', compact('list', 'subTitle'));
}