winner resource update

This commit is contained in:
Russ Long 2022-08-07 12:52:59 -04:00
parent 6e2bdee1c6
commit d4d33e3267

View File

@ -32,11 +32,11 @@ class CarShowWinnerResource extends Resource
->schema([
Select::make('vehicle')
->label('Vehicle')
->options(Vehicles::all()->pluck('owner', 'year', 'make', 'model', 'id'))
->options(Vehicles::all()->pluck('owner', 'id'))
->searchable(),
Select::make('category')
->label('Category')
->options(CarShowCategory::all()->pluck('category_name', 'vehicle_type', 'id'))
->options(CarShowCategory::all()->pluck('category_name', 'id'))
->searchable(),
]);
}