Fix earned by category view [skip ci]

This commit is contained in:
James Cole
2017-12-10 20:10:04 +01:00
parent 6fed773cb8
commit d3a6ccacf0

View File

@@ -132,7 +132,7 @@ class ExpenseController extends Controller
} }
// now find spent / earned: // now find spent / earned:
$spent = $this->spentByCategory($accounts, $all, $start, $end); $spent = $this->spentByCategory($accounts, $all, $start, $end);
$earned = $this->earnedByCategory($accounts, $combi, $start, $end); $earned = $this->earnedByCategory($accounts, $all, $start, $end);
// join arrays somehow: // join arrays somehow:
$together = []; $together = [];