bugfix add_by_method_id
This commit is contained in:
1 parent
ad3dc8897c
commit
b8e7830ea4
2 files changed
+3
-2
No files matched your search
+2
-2
@@ -19,11 +19,11 @@ class ListStatistikoPlayers extends ListRecords
|
|||||||
protected function getHeaderActions(): array
|
protected function getHeaderActions(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
ExportAction::make('download_betfair')
|
ExportAction::make('download_players')
|
||||||
->columnMapping(false)
|
->columnMapping(false)
|
||||||
->exporter(PlayerHistoryExporter::class)
|
->exporter(PlayerHistoryExporter::class)
|
||||||
->label('Download')
|
->label('Download')
|
||||||
->fileName(fn (Export $export): string => 'player-history-'.date('d.m.Y-H.i')."-{$export->getKey()}")
|
->fileName(fn(Export $export): string => 'player-history-' . date('d.m.Y-H.i') . "-{$export->getKey()}")
|
||||||
->icon('phosphor-download'),
|
->icon('phosphor-download'),
|
||||||
Action::make('starttime')
|
Action::make('starttime')
|
||||||
->color('gray')
|
->color('gray')
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ class CompetitionGroupProvider extends Model
|
|||||||
{
|
{
|
||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'sport_id',
|
'sport_id',
|
||||||
|
'add_by_method_id',
|
||||||
'competition_group_id',
|
'competition_group_id',
|
||||||
'provider_id',
|
'provider_id',
|
||||||
'provider_group_id',
|
'provider_group_id',
|
||||||
|
|||||||
Reference in new issue
Block a user