Experimental chart for #2999

This commit is contained in:
James Cole
2020-03-21 05:26:39 +01:00
parent eb31ff4ebb
commit d5b315e3c8
5 changed files with 364 additions and 94 deletions

View File

@@ -498,7 +498,7 @@ class BudgetController extends Controller
$cache->addProperty($currency->id);
$cache->addProperty('chart.budget.period');
if ($cache->has()) {
// return response()->json($cache->get()); // @codeCoverageIgnore
return response()->json($cache->get()); // @codeCoverageIgnore
}
$titleFormat = app('navigation')->preferredCarbonLocalizedFormat($start, $end);
$preferredRange = app('navigation')->preferredRangeFormat($start, $end);