grapper betsapi bet365 wip
This commit is contained in:
1 parent
e90a6c71f6
commit
b1a724061f
19 files changed
+93
-51
No files matched your search
@@ -18,6 +18,12 @@ class SupervisorsTable
|
||||
->striped()
|
||||
->columns([
|
||||
TextColumn::make('id')->badge(),
|
||||
TextColumn::make('provider.name')->badge()
|
||||
->color(fn ($record): string => match ($record->provider_id) {
|
||||
1 => 'danger',
|
||||
2 => 'success',
|
||||
default => 'warning',
|
||||
}),
|
||||
SelectColumn::make('name')
|
||||
->options([
|
||||
'Fixtures' => 'Fixtures',
|
||||
@@ -27,8 +33,7 @@ class SupervisorsTable
|
||||
'Bet365' => 'Bet365',
|
||||
'Betfair' => 'Betfair',
|
||||
]),
|
||||
TextColumn::make('provider.name')->badge(),
|
||||
TextColumn::make('sport.name')->label('Sport'),
|
||||
TextColumn::make('sport.name')->label('Sport')->color(fn ($record): string => $record->sport->color),
|
||||
TextColumn::make('sleep')->numeric(),
|
||||
TextColumn::make('runtime')->label('Run Time'),
|
||||
TextColumn::make('maxsconds')->label('Max Time'),
|
||||
|
||||
Reference in new issue
Block a user