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)
|
||||
->label('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'),
|
||||
])
|
||||
->path('')
|
||||
|
||||
Reference in new issue
Block a user