Some code cleanup.

This commit is contained in:
James Cole
2016-05-20 08:00:35 +02:00
parent ed948cc965
commit dda3082c7e
13 changed files with 17 additions and 20 deletions

View File

@@ -176,12 +176,7 @@ class BudgetController extends Controller
$accounts = $accountRepository->getAccountsByType(['Default account', 'Asset account', 'Cash account']);
$startAsString = $start->format('Y-m-d');
$endAsString = $end->format('Y-m-d');
/**
* Do some cleanup:
* TODO reimplement the deletion of budget_limits and limit_repetitions with amount 0
*/
// loop the budgets:
/** @var Budget $budget */
foreach ($budgets as $budget) {