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 -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)