diff --git a/app/Filament/Resources/Events/Tables/EventsTable.php b/app/Filament/Resources/Events/Tables/EventsTable.php index 08d22c47..df4ab1ae 100644 --- a/app/Filament/Resources/Events/Tables/EventsTable.php +++ b/app/Filament/Resources/Events/Tables/EventsTable.php @@ -189,6 +189,7 @@ class EventsTable Hidden::make('filter_stars'), Hidden::make('filter_notes'), Hidden::make('filter_notification'), + Hidden::make('filter_periode'), Select::make(name: 'country_id') ->hidden(fn () => auth()->user()->sport_id == 5) ->placeholder('Country') @@ -483,10 +484,10 @@ class EventsTable } if (auth()->user()->all_only_none == 1) { - $indicators[] = Indicator::make('Only with '.auth()->user()->bookmaker->name)->color('away')->removable(false); + $indicators[] = Indicator::make('Only events with '.auth()->user()->bookmaker->name)->color('away')->removable(false); } if (auth()->user()->all_only_none == 2) { - $indicators[] = Indicator::make('Only without '.auth()->user()->bookmaker->name)->color('away')->removable(false); + $indicators[] = Indicator::make('Only events without '.auth()->user()->bookmaker->name)->color('away')->removable(false); } if (auth()->user()->partner_show == 1) { diff --git a/app/Livewire/BettypeToggle.php b/app/Livewire/BettypeToggle.php index 842e43fa..191a7950 100644 --- a/app/Livewire/BettypeToggle.php +++ b/app/Livewire/BettypeToggle.php @@ -88,6 +88,12 @@ class BettypeToggle extends Component $this->dispatch('refreshBettypeMenu'); } + /* + $table->boolean('filter_stars')->default(false); + $table->boolean('filter_notes')->default(false); + $table->boolean('filter_notification')->default(false); + $table->boolean('filter_periode')->default(false); + */ public function setToday() { $data = [