Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fine tune chart. [skip ci]
James Coleb5a5a216cde2
diff --git a/app/Http/Controllers/Chart/CategoryController.php b/app/Http/Controllers/Chart/CategoryController.phpindex 57a524d94b..892464b254 100644--- a/app/Http/Controllers/Chart/CategoryController.php+++ b/app/Http/Controllers/Chart/CategoryController.php@@ -470,8 +470,8 @@ class CategoryController extends Controller$currentStart = clone $current;$currentEnd = Navigation::endOfPeriod($currentStart, $viewRange);- $spent = strval(array_sum($repository->spentPerDay($category, $currentStart, $currentEnd, new Collection)));- $earned = strval(array_sum($repository->earnedPerDay($category, $currentStart, $currentEnd, new Collection)));+ $spent = strval(array_sum($repository->spentPerDay($category, $currentStart, $currentEnd, $accounts)));+ $earned = strval(array_sum($repository->earnedPerDay($category, $currentStart, $currentEnd, $accounts)));$entry = [$category->name,