Fix chart. Related to #99

This commit is contained in:
James Cole 2015-07-31 18:14:24 +02:00
parent e39e1eaf21
commit a30793e818

View File

@ -225,7 +225,7 @@ class BudgetController extends Controller
// each budget, fill the row:
foreach ($budgets as $budget) {
$spent = $repository->spentInPeriodCorrected($budget, $start, $month, $shared);
$row[] = $spent;
$row[] = $spent*-1;
}
$entries->push($row);
$start->endOfMonth()->addDay();