This commit is contained in:
salam committed 2026-10-22 16:02:27 +02:00
1 parent d6a13837c5
commit 9cfa60de30
5 files changed
+55 -1

No files matched your search

@@ -21,6 +21,7 @@ class StatistikoImportForm
'player' => '<span class="text-pink-600">Player History</span>',
'fixtures' => '<span class="text-orange-500">Fixtures Upcoming</span>',
'events' => '<span class="text-green-500">Events History</span>',
'teams_tornaments' => '<span class="text-fuchsia-500">Teams in Tornaments</span>',
]),
FileUpload::make('file_name')
@@ -32,6 +32,7 @@ class StatistikoImportsTable
'player' => '<span class="text-pink-600">Player History</span>',
'fixtures' => '<span class="text-orange-500">Fixtures Upcoming</span>',
'events' => '<span class="text-green-500">Events History</span>',
'teams_tornaments' => '<span class="text-fuchsia-500">Teams in Tornaments</span>',
]),
TextColumn::make('file_name_original')
->sortable()
@@ -55,6 +56,7 @@ class StatistikoImportsTable
'events' => 'Events',
'fixtures' => 'Fixtures',
'player' => 'Player',
'teams_tornaments' => 'Teams in Tornaments',
]),
], layout: FiltersLayout::AboveContent)
->filtersFormColumns(6)
@@ -67,7 +69,7 @@ class StatistikoImportsTable
->color('success')
->tooltip('Update or create')
->icon('phosphor-database')
->action(fn($record) => StatistikoImporter::run($record))
->action(fn ($record) => StatistikoImporter::run($record))
->successNotification(
Notification::make()
->info()