This commit is contained in:
salam committed 2026-05-21 18:36:51 +02:00
1 parent d39a3a1dc2
commit 1be75dfc80
2 files changed
+3 -13

No files matched your search

+3 -5
View File
@@ -74,6 +74,7 @@ class LoadEventsAspGoal
return $query->where('starttime', '<=', $end);
})
->get();
break;
case 'all':
$res = StatistikoEvent::when($handicap_range, function ($query) use ($handicap_range) {
@@ -88,10 +89,7 @@ class LoadEventsAspGoal
->get();
break;
default:
/**
* STATISTIC DATA
*/
case 'none':
$res = StatistikoEvent::when($league_id, function ($query) use ($league_id) {
return $query->where('league_id', $league_id);
})->when($team_id, function ($query) use ($team_id, $team_position) {
@@ -109,8 +107,8 @@ class LoadEventsAspGoal
return $query->where('starttime', '<=', $end);
})
->get();
break;
break;
}
/**
-8
View File
@@ -96,9 +96,6 @@ class Statistic extends BaseDashboard
Select::make('tm_player_id')
->label('Player')
->prefixIcon('icon-player')
->options([
'draft' => 'Sep Maier',
])
->preload()
->searchable()
->live(),
@@ -166,11 +163,6 @@ class Statistic extends BaseDashboard
]);
}
public function update()
{
dd($this->filter);
}
protected function getFooterWidgets(): array
{
return [