From a2db3e6f6e16497ce43c1f778bbafad2c34623fa Mon Sep 17 00:00:00 2001 From: salam Date: Thu, 21 May 2026 17:28:30 +0200 Subject: [PATCH] wip --- app/Filament/Pages/Statistic.php | 36 +++++++++++++++++++------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index 070bbe3f..c8534db1 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -19,6 +19,7 @@ use Filament\Schemas\Components\Section; use Filament\Schemas\Components\Utilities\Get; use Filament\Schemas\Components\Utilities\Set; use Filament\Schemas\Schema; +use Illuminate\Contracts\Support\Htmlable; class Statistic extends BaseDashboard { @@ -28,6 +29,11 @@ class Statistic extends BaseDashboard protected static ?string $title = 'Statistic'; + public function getHeading(): string|Htmlable|null + { + return ''; + } + public function filtersForm(Schema $schema): Schema { return $schema @@ -111,21 +117,6 @@ class Statistic extends BaseDashboard 'home' => 'Home', 'away' => 'Away', ]), - Select::make('similar_past_matches') - ->prefixIcon('phosphor-align-center-horizontal') - ->suffixAction( - Action::make('iconInfo') - ->color('gray') - ->icon('phosphor-question') - ->tooltip('Lorem ipsum dolor sit amet, consetetur sadipscing elitr.') - ) - ->default('none') - ->selectablePlaceholder(false) - ->options([ - 'none' => 'None', - 'league' => 'League', - 'all' => 'All Database', - ]), Select::make('statistic_type') ->prefixIcon('phosphor-cell-signal-full') ->suffixAction( @@ -145,6 +136,21 @@ class Statistic extends BaseDashboard 'snt' => 'Shot on target', 'tsh' => 'Total shots', ]), + Select::make('similar_past_matches') + ->prefixIcon('phosphor-align-center-horizontal') + ->suffixAction( + Action::make('iconInfo') + ->color('gray') + ->icon('phosphor-question') + ->tooltip('Lorem ipsum dolor sit amet, consetetur sadipscing elitr.') + ) + ->default('none') + ->selectablePlaceholder(false) + ->options([ + 'none' => 'None', + 'league' => 'League', + 'all' => 'All Database', + ]), Slider::make('accuracy') ->default(0.5) ->decimalPlaces(1)