feat(onticket): add immersive hero configuration and carousel, update tenant seeder and tests

This commit is contained in:
2026-09-18 09:39:25 -03:00
parent 164187f47b
commit 49be167029
12 changed files with 524 additions and 32 deletions

View File

@@ -13,6 +13,17 @@ class CategorySeeder extends Seeder
*/
public function run(): void
{
$onTicket = Tenant::query()->where('codigo', 'onticket')->first();
if ($onTicket instanceof Tenant) {
foreach (['Música', 'Teatro', 'Deportes', 'Infantiles', 'Otros'] as $nombre) {
Category::firstOrCreate([
'nombre' => $nombre,
'tenant_code' => $onTicket->codigo,
]);
}
}
$tenant = Tenant::query()->where('codigo', 'sonder')->first();
if (! $tenant instanceof Tenant) {