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

@@ -18,9 +18,6 @@ class BookmakerForm
TextInput::make('baid')
->numeric()
->default(0),
TextInput::make('txid')
->numeric()
->default(0),
]);
}
}
@@ -23,10 +23,6 @@ class BookmakersTable
->label('BAID')
->numeric()
->sortable(),
TextColumn::make('txid')
->label('TXID')
->numeric()
->sortable(),
ToggleColumn::make('txso')->offColor('gray'),
ToggleColumn::make('txot')->offColor('gray'),
ToggleColumn::make('betsapi')->offColor('gray'),
@@ -40,7 +40,6 @@ class CountryResource extends Resource
TextInput::make('iso3')->maxLength(3),
TextInput::make('cc'),
TextInput::make('numeric'),
TextInput::make('txid'),
Toggle::make('is_country'),
Toggle::make('disabled')->label('Disable')->aboveLabel(['Hide in this table']),
]);
@@ -67,7 +66,6 @@ class CountryResource extends Resource
TextColumn::make('iso3'),
TextColumn::make('cc'),
TextColumn::make('numeric'),
TextColumn::make('txid')->searchable(),
IconColumn::make('is_country')->alignCenter()->boolean(),
])
@@ -212,7 +212,7 @@ class EventsTable
->options(function () {
$res = Event::query()->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()
@@ -13,7 +13,7 @@ class ProvidersTable
return $table
->striped()
->columns([
TextColumn::make('id'),
TextColumn::make('id')->alignCenter()->badge(),
TextColumn::make('name'),
])
->recordActions([