diff --git a/app/Http/Controllers/Chart/BudgetReportController.php b/app/Http/Controllers/Chart/BudgetReportController.php index ae51df4ee0..5ba5e9dd0e 100644 --- a/app/Http/Controllers/Chart/BudgetReportController.php +++ b/app/Http/Controllers/Chart/BudgetReportController.php @@ -84,6 +84,7 @@ class BudgetReportController extends Controller $cache->addProperty($budgets); $cache->addProperty($start); $cache->addProperty($end); + $cache->addProperty($others); if ($cache->has()) { return Response::json($cache->get()); } @@ -140,6 +141,7 @@ class BudgetReportController extends Controller $cache->addProperty($budgets); $cache->addProperty($start); $cache->addProperty($end); + $cache->addProperty($others); if ($cache->has()) { return Response::json($cache->get()); } diff --git a/app/Http/Controllers/Chart/CategoryReportController.php b/app/Http/Controllers/Chart/CategoryReportController.php index d2ffe572b4..be76c938a4 100644 --- a/app/Http/Controllers/Chart/CategoryReportController.php +++ b/app/Http/Controllers/Chart/CategoryReportController.php @@ -83,6 +83,7 @@ class CategoryReportController extends Controller $cache->addProperty($categories); $cache->addProperty($start); $cache->addProperty($end); + $cache->addProperty($others); if ($cache->has()) { return Response::json($cache->get()); } @@ -138,6 +139,7 @@ class CategoryReportController extends Controller $cache->addProperty($accounts); $cache->addProperty($categories); $cache->addProperty($start); + $cache->addProperty($others); $cache->addProperty($end); if ($cache->has()) { return Response::json($cache->get()); @@ -194,6 +196,7 @@ class CategoryReportController extends Controller $cache->addProperty($categories); $cache->addProperty($start); $cache->addProperty($end); + $cache->addProperty($others); if ($cache->has()) { return Response::json($cache->get()); } @@ -250,6 +253,7 @@ class CategoryReportController extends Controller $cache->addProperty($categories); $cache->addProperty($start); $cache->addProperty($end); + $cache->addProperty($others); if ($cache->has()) { return Response::json($cache->get()); }