mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
First attempt to make the year charts and month reports report the same thing [skip ci]
This commit is contained in:
parent
6c3262e176
commit
1a1f89f555
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user