mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
#202 make positive.
This commit is contained in:
parent
cdce43d226
commit
f38d99653f
@ -76,7 +76,7 @@ class ChartJsBillChartGenerator implements BillChartGeneratorInterface
|
||||
* journalAmount has been collected in BillRepository::getJournals
|
||||
*/
|
||||
$journalAmount = TransactionJournal::amountPositive($entry) ?? '0';
|
||||
$actualAmount[] = round(bcmul($journalAmount, '-1'), 2);
|
||||
$actualAmount[] = round($journalAmount, 2);
|
||||
}
|
||||
|
||||
$data['datasets'][] = [
|
||||
|
Loading…
Reference in New Issue
Block a user