mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix some report issues.
This commit is contained in:
@@ -224,7 +224,7 @@ class ReportController extends Controller
|
||||
'count_spent' => 0,
|
||||
];
|
||||
foreach ($source['earned'] as $amount) {
|
||||
$amount = bcmul($amount,'-1');
|
||||
$amount = bcmul($amount, '-1');
|
||||
$numbers['sum_earned'] = bcadd($amount, $numbers['sum_earned']);
|
||||
++$numbers['count_earned'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user