wip
This commit is contained in:
1 parent
2734b06350
commit
fbaadcd248
9 files changed
+213
-219
No files matched your search
@@ -4,9 +4,9 @@ namespace App\Filament\Pages;
|
||||
|
||||
use App\Actions\LoadStatisticFixturesLeaguesOptions;
|
||||
use App\Filament\Widgets\ChartMovingAverageEvent;
|
||||
use App\Filament\Widgets\ChartMovingAveragePlayer;
|
||||
use App\Filament\Widgets\ChartPunctualEvent;
|
||||
use App\Filament\Widgets\MovingAverageChartPlayer;
|
||||
use App\Filament\Widgets\PunctualChartPlayer;
|
||||
use App\Filament\Widgets\ChartPunctualPlayer;
|
||||
use App\Filament\Widgets\StatsMedianAverage;
|
||||
use App\Models\Element;
|
||||
use App\Models\StatisticFixtures;
|
||||
@@ -99,6 +99,7 @@ class Statistic extends BaseDashboard
|
||||
DatePicker::make('start_date')
|
||||
->native(false)
|
||||
->prefixIcon('phosphor-calendar')
|
||||
->live()
|
||||
->suffixAction(
|
||||
Action::make('clear_start')
|
||||
->icon('phosphor-x')
|
||||
@@ -108,6 +109,7 @@ class Statistic extends BaseDashboard
|
||||
DatePicker::make('end_date')
|
||||
->native(false)
|
||||
->prefixIcon('phosphor-calendar')
|
||||
->live()
|
||||
->suffixAction(
|
||||
Action::make('clear_end')
|
||||
->icon('phosphor-x')
|
||||
@@ -131,6 +133,7 @@ class Statistic extends BaseDashboard
|
||||
->action(function (callable $set) {
|
||||
$set('tm_player_id', null);
|
||||
})
|
||||
->color('gray')
|
||||
->icon('phosphor-x'),
|
||||
)
|
||||
->preload()
|
||||
@@ -140,6 +143,7 @@ class Statistic extends BaseDashboard
|
||||
})
|
||||
->live(),
|
||||
Select::make('player_on_field')
|
||||
->label('Time on field')
|
||||
->prefixIcon('phosphor-watch')
|
||||
->default('all')
|
||||
->selectablePlaceholder(false)
|
||||
@@ -224,8 +228,8 @@ class Statistic extends BaseDashboard
|
||||
StatsMedianAverage::make(),
|
||||
ChartPunctualEvent::make(),
|
||||
ChartMovingAverageEvent::make(),
|
||||
PunctualChartPlayer::make(),
|
||||
MovingAverageChartPlayer::make(),
|
||||
// ChartPunctualPlayer::make(),
|
||||
// ChartMovingAveragePlayer::make(),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user