rapper magloo nigeria fixtures ok
This commit is contained in:
1 parent
34690292aa
commit
9e7384daf8
46 files changed
+334
-1502
No files matched your search
@@ -197,13 +197,14 @@ class EventsTable
|
||||
->width(225)
|
||||
->label('Totals'),
|
||||
])->searchable(['id', 'betsapi_id', 'betradar_id', 'bet365_id', 'bwin_id'])
|
||||
->poll('10s')
|
||||
->poll('5s')
|
||||
->defaultSort('starttime', 'ASC')
|
||||
->filters([
|
||||
Filter::make('events')
|
||||
->schema([
|
||||
Select::make('country_id')
|
||||
->placeholder('Country')
|
||||
->columnSpan(2)
|
||||
->hiddenLabel()
|
||||
->label('')
|
||||
->searchable()
|
||||
@@ -223,7 +224,7 @@ class EventsTable
|
||||
->hiddenLabel()
|
||||
->label('')
|
||||
->multiple()
|
||||
->columnSpan(2)
|
||||
->columnSpan(3)
|
||||
->searchable()
|
||||
->options(function (Get $get) {
|
||||
if ($get('country_id')) {
|
||||
@@ -241,7 +242,7 @@ class EventsTable
|
||||
})
|
||||
->live(),
|
||||
DateRangePicker::make('starttime_period')
|
||||
->columnSpan(2)
|
||||
->columnSpan(4)
|
||||
->startPrefix('From')
|
||||
->displayFormat('d M Y')
|
||||
->minDate(now())
|
||||
@@ -251,7 +252,8 @@ class EventsTable
|
||||
Action::make('reset')
|
||||
->hiddenLabel()
|
||||
->color('gray')
|
||||
->icon('heroicon-o-arrow-path')
|
||||
->keyBindings(['esc', 'escape'])
|
||||
->icon('phosphor-x')
|
||||
->action(function ($livewire) {
|
||||
$livewire->resetTableFiltersForm(); // Clears all filters
|
||||
$livewire->tableSearch = ''; // Clears the main search bar
|
||||
@@ -290,7 +292,7 @@ class EventsTable
|
||||
}
|
||||
);
|
||||
})
|
||||
->columns(6)->columnSpan(6),
|
||||
->columns(10)->columnSpan(10),
|
||||
], layout: FiltersLayout::AboveContent)
|
||||
->filtersFormColumns(6)
|
||||
->deferFilters(false)
|
||||
|
||||
Reference in new issue
Block a user