provider, clients migration & resource

This commit is contained in:
salam committed 2025-08-24 08:10:57 +02:00
1 parent ab44b05fa3
commit cbe68f78be
56 files changed
+721 -289

No files matched your search

@@ -2,6 +2,9 @@
namespace App\Filament\Resources\Clients\Schemas;
use App\Models\Bookmaker;
use App\Models\Sport;
use Filament\Forms\Components\Select;
use Filament\Forms\Components\TextInput;
use Filament\Schemas\Schema;
@@ -13,10 +16,18 @@ class ClientForm
->components([
TextInput::make('name')
->required(),
TextInput::make('icon')
->default(null),
TextInput::make('homepage')
->default(null),
Select::make('bookmaker')
->options(Bookmaker::query()->pluck('name', 'id'))
->multiple()
->preload()
->searchable(),
Select::make('sport')
->options(Sport::query()->pluck('name', 'id'))
->multiple()
->preload()
->searchable(),
]);
}
}