- Endkunden‑Checkout setzt subscription_expires_at nicht mehr (bleibt null)

app/Services/Checkout/CheckoutAssignmentService.php
  - TenantPackage setzt für Endkunden kein addCentury mehr (Default jetzt 1 Jahr, nur wenn expires_at fehlt)
app/Models/TenantPackage.php
  - Tests angepasst
tests/Unit/TenantPackageTest.php
This commit is contained in:
Codex Agent
2025-12-22 15:21:45 +01:00
parent 84d90c5ece
commit d78ed0961b
3 changed files with 7 additions and 9 deletions

View File

@@ -110,7 +110,7 @@ class CheckoutAssignmentService
if ($package->type !== 'reseller') {
$tenant->forceFill([
'subscription_status' => 'active',
'subscription_expires_at' => $tenantPackage->expires_at,
'subscription_expires_at' => null,
])->save();
}