🤖 Auto commit for release 'v6.6.6' on 2026-07-01

This commit is contained in:
JC5
2026-07-01 21:08:40 +02:00
parent 86b1a4fb95
commit 849f75abfb
10 changed files with 59 additions and 12 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);