mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-27 16:54:08 +00:00
float > string.
This commit is contained in:
@@ -160,7 +160,7 @@ class ReportController extends Controller
|
||||
while ($start < $end) {
|
||||
|
||||
$currentIncome = $this->pluckFromArray($start->year, $earned);
|
||||
$currentExpense = $this->pluckFromArray($start->year, $spent) * -1;
|
||||
$currentExpense = bcmul($this->pluckFromArray($start->year, $spent), '-1');
|
||||
$income = bcadd($income, $currentIncome);
|
||||
$expense = bcadd($expense, $currentExpense);
|
||||
|
||||
|
Reference in New Issue
Block a user