wip starttime

This commit is contained in:
salam committed 2026-08-06 12:38:12 +02:00
1 parent b72b14811a
commit db051d6e32
2 files changed
+4 -8

No files matched your search

@@ -23,12 +23,6 @@ class ListStatistikoEvents extends ListRecords
->modalSubmitAction(fn(Action $action) => $action->label('Delete all')
->color('danger')
->icon('heroicon-o-trash'))
// ->modalSubmitAction(
// fn(\Filament\Actions\StaticAction $action) =>
// $action->color('danger')
// ->icon('heroicon-o-trash')
// )
// ->modalSubmitActionLabel('Delete')
->modalContent(function () {
$events = StatistikoEvent::with('league')->with('home')->with('away')->where('starttime', '<', new DateTime('-10 years'))->get();
return view('filament.pages.list-fixtures-starttime', ['events' => $events]);