diff --git a/app/Generator/Chart/Account/ChartJsAccountChartGenerator.php b/app/Generator/Chart/Account/ChartJsAccountChartGenerator.php index f9a70c8778..415d38ddab 100644 --- a/app/Generator/Chart/Account/ChartJsAccountChartGenerator.php +++ b/app/Generator/Chart/Account/ChartJsAccountChartGenerator.php @@ -6,6 +6,7 @@ use Carbon\Carbon; use Config; use FireflyIII\Models\Account; use Illuminate\Support\Collection; +use Log; use Preferences; use Steam; @@ -67,6 +68,7 @@ class ChartJsAccountChartGenerator implements AccountChartGenerator $start = isset($startBalances[$id]) ? $startBalances[$id] : 0; $end = isset($endBalances[$id]) ? $endBalances[$id] : 0; $diff = $end - $start; + Log::debug($account->name ' spent ' . $diff); if ($diff > 0) { $data['labels'][] = $account->name; $data['datasets'][0]['data'][] = $diff;