wip player filter
This commit is contained in:
1 parent
12d29c7b3e
commit
74e9285bac
4 files changed
+30
-21
No files matched your search
@@ -6,13 +6,17 @@ use App\Filament\Widgets\Data\HelperStatisticType;
|
||||
use App\Filament\Widgets\Data\HelperTeamPosition;
|
||||
use App\Filament\Widgets\Data\LoadEvents;
|
||||
use App\Utilities\Round;
|
||||
use Filament\Widgets\Concerns\InteractsWithPageFilters;
|
||||
use Filament\Widgets\StatsOverviewWidget;
|
||||
use Filament\Widgets\StatsOverviewWidget\Stat;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Illuminate\Support\HtmlString;
|
||||
use Livewire\Attributes\Reactive;
|
||||
|
||||
class StatsMedianAverage extends StatsOverviewWidget
|
||||
{
|
||||
use InteractsWithPageFilters;
|
||||
|
||||
protected ?string $pollingInterval = null;
|
||||
|
||||
protected int|array|null $columns = null;
|
||||
@@ -31,6 +35,8 @@ class StatsMedianAverage extends StatsOverviewWidget
|
||||
{
|
||||
$data = LoadEvents::load($this->filters, false);
|
||||
|
||||
// Log::debug($this->filters, $data);
|
||||
|
||||
$team_position = HelperTeamPosition::get($this->filters);
|
||||
|
||||
if (!$data)
|
||||
|
||||
Reference in new issue
Block a user