First attempt to make the year charts and month reports report the same thing [skip ci]

This commit is contained in:
James Cole 2015-01-01 21:27:51 +01:00
parent 6c3262e176
commit 1a1f89f555

View File

@ -461,14 +461,12 @@ class TransactionJournal implements TransactionJournalInterface, CUD, CommonData
foreach ($set as $entry) { foreach ($set as $entry) {
$sum += $entry['amount']; $sum += $entry['amount'];
} }
return $sum; return $sum;
} }
/** /**
* TODO This query includes incomes to "shared" accounts which arent income.
*
* @param Carbon $date * @param Carbon $date
* *
* @return float * @return float