mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-20 18:21:21 +00:00
Fixed missing chart data.
This commit is contained in:
@@ -218,7 +218,7 @@ class BudgetReportController extends Controller
|
||||
|
||||
/** @var Budget $budget */
|
||||
foreach ($budgets as $budget) {
|
||||
$chartData[$budget->id]['entries'][$label] = $expenses[$budget->id] ?? '0';
|
||||
$chartData[$budget->id]['entries'][$label] = round(($expenses[$budget->id] ?? '0'), 2);
|
||||
}
|
||||
$currentStart = clone $currentEnd;
|
||||
$currentStart->addDay();
|
||||
|
||||
Reference in New Issue
Block a user