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