wip export bf
This commit is contained in:
1 parent
2e38a36aec
commit
4f8655651a
1 file changed
+3
-1
@@ -51,7 +51,9 @@ class AdminPanelProvider extends PanelProvider
|
|||||||
->exporter(BetfairExporter::class)
|
->exporter(BetfairExporter::class)
|
||||||
->label('Download Betfair')
|
->label('Download Betfair')
|
||||||
->visible(fn (): bool => auth()->user()->hasRole('download_betfair'))
|
->visible(fn (): bool => auth()->user()->hasRole('download_betfair'))
|
||||||
->modifyQueryUsing(fn (Builder $query) => $query->where('sport_id', 1))
|
->modifyQueryUsing(fn (Builder $query) => $query->whereHas('odds_3ways_bf')
|
||||||
|
->whereHas('odds_totals_bf')
|
||||||
|
->where('sport_id', 1))
|
||||||
->icon('phosphor-download'),
|
->icon('phosphor-download'),
|
||||||
])
|
])
|
||||||
->path('')
|
->path('')
|
||||||
|
|||||||
Reference in new issue
Block a user