feat(onticket): add immersive hero configuration and carousel, update tenant seeder and tests
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user