winner resource update
This commit is contained in:
parent
6e2bdee1c6
commit
d4d33e3267
@ -32,11 +32,11 @@ class CarShowWinnerResource extends Resource
|
|||||||
->schema([
|
->schema([
|
||||||
Select::make('vehicle')
|
Select::make('vehicle')
|
||||||
->label('Vehicle')
|
->label('Vehicle')
|
||||||
->options(Vehicles::all()->pluck('owner', 'year', 'make', 'model', 'id'))
|
->options(Vehicles::all()->pluck('owner', 'id'))
|
||||||
->searchable(),
|
->searchable(),
|
||||||
Select::make('category')
|
Select::make('category')
|
||||||
->label('Category')
|
->label('Category')
|
||||||
->options(CarShowCategory::all()->pluck('category_name', 'vehicle_type', 'id'))
|
->options(CarShowCategory::all()->pluck('category_name', 'id'))
|
||||||
->searchable(),
|
->searchable(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user