Update partner packages, copy, and demo switcher

This commit is contained in:
Codex Agent
2026-01-15 17:33:36 +01:00
parent b732f88b0e
commit 7b88c1d365
50 changed files with 1335 additions and 411 deletions

View File

@@ -277,13 +277,13 @@ class PackageController extends Controller
'purchased_at' => now(),
]);
} else {
// Reseller subscription
// Partner / reseller Event-Kontingent package
\App\Models\TenantPackage::create([
'tenant_id' => $tenant->id,
'package_id' => $package->id,
'price' => $package->price,
'purchased_at' => now(),
'expires_at' => now()->addYear(),
'expires_at' => null,
'active' => true,
]);
}