mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-06 04:34:00 +00:00
Add todo, uncomment cache line. Expand count
This commit is contained in:
@@ -398,7 +398,8 @@ class BudgetController extends Controller
|
||||
/**
|
||||
* Shows a budget list with spent/left/overspent.
|
||||
*
|
||||
* TODO this chart is not multi-currency aware.
|
||||
* TODO there are cases when this chart hides expenses: when budget has limits
|
||||
* and limits are found and used, but the expense is in another currency.
|
||||
*
|
||||
* @return JsonResponse
|
||||
*
|
||||
@@ -413,7 +414,7 @@ class BudgetController extends Controller
|
||||
$cache->addProperty($end);
|
||||
$cache->addProperty('chart.budget.frontpage');
|
||||
if ($cache->has()) {
|
||||
//return response()->json($cache->get()); // @codeCoverageIgnore
|
||||
return response()->json($cache->get()); // @codeCoverageIgnore
|
||||
}
|
||||
$budgets = $this->repository->getActiveBudgets();
|
||||
$chartData = [
|
||||
|
Reference in New Issue
Block a user