diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index 7af18a34..d9c5942a 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -6,7 +6,6 @@ use App\Actions\LoadStatisticFixturesLeaguesOptions; use App\Actions\LoadStatisticFixturesMatchOptions; use App\Actions\Selections\LoadPlayer; use App\Actions\Selections\LoadSeasons; -use App\Models\Element; use App\Models\SofaScoreRosa; use App\Models\StatisticFixtures; use BackedEnum; diff --git a/resources/views/filament/pages/statistic.blade.php b/resources/views/filament/pages/statistic.blade.php index cb688409..a043ee31 100644 --- a/resources/views/filament/pages/statistic.blade.php +++ b/resources/views/filament/pages/statistic.blade.php @@ -1,5 +1,5 @@ @php -$player_name = App\Models\StatistikoDetail::where('ss_player_id', (int) $this->filters['ss_player_id'])->value('name'); +$player_name = App\Models\StatistikoDetail::where('ss_player_id', (int) $this->filters['ss_player_id'])->value('player_name'); @endphp