mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 07:08:19 +00:00
float > string.
This commit is contained in:
@@ -160,7 +160,7 @@ class ReportController extends Controller
|
|||||||
while ($start < $end) {
|
while ($start < $end) {
|
||||||
|
|
||||||
$currentIncome = $this->pluckFromArray($start->year, $earned);
|
$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);
|
$income = bcadd($income, $currentIncome);
|
||||||
$expense = bcadd($expense, $currentExpense);
|
$expense = bcadd($expense, $currentExpense);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user