This commit is contained in:
salam committed 2026-01-04 05:41:37 +01:00
1 parent f8350fd319
commit 9d2a8ce628
25 files changed
+21 -33

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ class MapperLeft extends Component implements HasActions, HasSchemas, HasTable
->options(function () {
$res = Event::query()->where('betradar_id', 0)->where('starttime', '>', Carbon::now())->groupBy('country_id')->pluck('country_id')->toArray();
return Country::query()->whereIn('tx_id', $res)->pluck('name', 'tx_id');
return Country::query()->whereIn('id', $res)->pluck('name', 'id');
})
->live()
->reactive()
+1 -2
View File
@@ -58,14 +58,13 @@ class MultilineBookmaker extends Component implements HasActions, HasSchemas, Ha
->label('Bookmaker')
->width('2rem')
->options(function () {
$books = Bookmaker::where('is_active', 1)->orderBy('txid')->pluck('name', 'txid');
$books = Bookmaker::where('is_active', 1)->orderBy('name')->pluck('name', 'id');
foreach ($books as $key => $value) {
$books[$key] = $key.' - '.$value;
}
return $books;
}),
// ->options(Bookmaker::where('is_active', 1)->pluck('name', 'txid')),
])
->defaultSort('sort')
->deferFilters(false)