This commit is contained in:
2026-05-23 15:58:06 +02:00
parent 8a049efe49
commit 3fdbaf0285
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class CloseCostUnit implements CronTask {
$billingResetEnd = clone $now;
$billingResetEnd->add(new \DateInterval('P6W'));
/** @var CostUnit $costUnit */
foreach ($costUnitRepository->getCurrentEvents() as $costUnit) {
foreach ($costUnitRepository->getCurrentEvents(true) as $costUnit) {
$billingEnd = $costUnit['billing_deadline'];
if ($billingEnd === null) {