diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index d9c5942a..011a42d9 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -2,28 +2,28 @@ namespace App\Filament\Pages; -use App\Actions\LoadStatisticFixturesLeaguesOptions; -use App\Actions\LoadStatisticFixturesMatchOptions; -use App\Actions\Selections\LoadPlayer; -use App\Actions\Selections\LoadSeasons; +use BackedEnum; +use Filament\Support\RawJs; +use Filament\Actions\Action; +use Filament\Schemas\Schema; use App\Models\SofaScoreRosa; use App\Models\StatisticFixtures; -use BackedEnum; -use BezhanSalleh\FilamentShield\Traits\HasPageShield; -use Filament\Actions\Action; -use Filament\Forms\Components\DatePicker; +use Illuminate\Support\HtmlString; use Filament\Forms\Components\Radio; use Filament\Forms\Components\Select; use Filament\Forms\Components\Slider; -use Filament\Pages\Dashboard as BaseDashboard; -use Filament\Pages\Dashboard\Concerns\HasFiltersForm; use Filament\Schemas\Components\Grid; +use App\Actions\Selections\LoadPlayer; +use App\Actions\Selections\LoadSeasons; +use Filament\Forms\Components\DatePicker; +use Filament\Pages\Dashboard as BaseDashboard; +use Illuminate\Contracts\Support\Htmlable; use Filament\Schemas\Components\Utilities\Get; use Filament\Schemas\Components\Utilities\Set; -use Filament\Schemas\Schema; -use Filament\Support\RawJs; -use Illuminate\Contracts\Support\Htmlable; -use Illuminate\Support\HtmlString; +use App\Actions\LoadStatisticFixturesMatchOptions; +use App\Actions\LoadStatisticFixturesLeaguesOptions; +use BezhanSalleh\FilamentShield\Traits\HasPageShield; +use Filament\Pages\Dashboard\Concerns\HasFiltersForm; class Statistic extends BaseDashboard { @@ -344,14 +344,14 @@ class Statistic extends BaseDashboard protected function tooltip_player_info(): HtmlString { - $str = '
'; + $str = '
'; $str .= '
Player Information
'; - $str .= '
Events played
'; - $str .= '
- Count
'; - $str .= '
Stronger foot
'; - $str .= '
- Left | Right | Both
'; - $str .= '
Average time on field
'; - $str .= '
- Minutes
'; + $str .= '
Events played:
'; + $str .= '
sum
'; + $str .= '
Stronger foot:
'; + $str .= '
left | right | both
'; + $str .= '
Average on field:
'; + $str .= '
minutes
'; $str .= '
'; return new HtmlString($str);