🤖 Auto commit for release 'v6.6.3' on 2026-05-21

This commit is contained in:
JC5
2026-05-21 06:59:36 +02:00
parent 1c21154799
commit 008c9b4d8f
11 changed files with 64 additions and 18 deletions
@@ -539,7 +539,13 @@ final class BudgetController extends Controller
}
// get spent amount in this period for this currency.
$sum = $this->opsRepository->sumExpenses($currentStart, $currentEnd, $accounts, new Collection()->push($budget), $currency);
$sum = $this->opsRepository->sumExpenses(
$currentStart,
$currentEnd,
$accounts,
new Collection()->push($budget),
$currency
);
$amount = Steam::positive($sum[$currency->id]['sum'] ?? '0');
$chartData[0]['entries'][$title] = Steam::bcround($amount, $currency->decimal_places);