Modified events with sport-id and match_id, same for players

This commit is contained in:
salam committed 2026-05-06 18:28:14 +02:00
1 parent 1c4480b014
commit 9978b0f76f
12 files changed
+205 -152

No files matched your search

@@ -2,7 +2,6 @@
namespace App\Filament\Clusters\StaticData\Resources\StatistikoImports\Schemas;
use App\Models\Sport;
use Filament\Forms\Components\FileUpload;
use Filament\Forms\Components\Select;
use Filament\Schemas\Components\Icon;
@@ -14,15 +13,11 @@ class StatistikoImportForm
{
return $schema
->components([
Select::make('sport_id')
->required()
->label('Sport')
->options(fn () => Sport::query()->where('is_active', 1)->pluck('name', 'id')),
Select::make('data_type')
->required()
->allowHtml()
->options([
'personal' => '<span class="text-blue-500">Personal detail player</span>',
'personal' => '<span class="text-blue-500">Personals</span>',
'events' => '<span class="text-green-500">Events</span>',
'fixtures' => '<span class="text-orange-500">Fixtures</span>',
'player' => '<span class="text-pink-600">Player</span>',