fix import types

This commit is contained in:
salam committed 2026-04-29 09:56:43 +02:00
1 parent 4bce04cd64
commit d30eb76442
6 files changed
+103 -103

No files matched your search

@@ -17,15 +17,15 @@ class StatistikoImportForm
Select::make('sport_id')
->required()
->label('Sport')
->options(Sport::where('is_active', 1)->pluck('name', 'id')),
->options(fn () => Sport::query()->where('is_active', 1)->pluck('name', 'id')),
Select::make('data_type')
->required()
->allowHtml()
->options([
'player' => '<span class="text-blue-500">Personal petail player</span>',
'personal' => '<span class="text-blue-500">Personal detail player</span>',
'events' => '<span class="text-green-500">Events</span>',
'fixtures' => '<span class="text-orange-500">Fixtures</span>',
'events_player' => '<span class="text-pink-600">Player</span>',
'player' => '<span class="text-pink-600">Player</span>',
]),
FileUpload::make('file_name')