- 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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user