Update InventarioPrendaResource.php
This commit is contained in:
@@ -82,17 +82,20 @@ class InventarioPrendaResource extends Resource
|
|||||||
->schema([
|
->schema([
|
||||||
Select::make('bodega_id')
|
Select::make('bodega_id')
|
||||||
->label('Bodega')
|
->label('Bodega')
|
||||||
->relationship('bodega', 'nombre')
|
->options(fn () => \App\Models\Bodega::pluck('nombre', 'id')->toArray())
|
||||||
|
->searchable()
|
||||||
->required(),
|
->required(),
|
||||||
|
|
||||||
Select::make('color_id')
|
Select::make('color_id')
|
||||||
->label('Color')
|
->label('Color')
|
||||||
->relationship('color', 'nombre')
|
->options(fn () => \App\Models\Color::pluck('nombre', 'id')->toArray())
|
||||||
|
->searchable()
|
||||||
->nullable(),
|
->nullable(),
|
||||||
|
|
||||||
Select::make('size_id')
|
Select::make('size_id')
|
||||||
->label('Talla')
|
->label('Talla')
|
||||||
->relationship('size', 'nombre')
|
->options(fn () => \App\Models\Size::pluck('nombre', 'id')->toArray())
|
||||||
|
->searchable()
|
||||||
->nullable(),
|
->nullable(),
|
||||||
|
|
||||||
TextInput::make('cantidad')
|
TextInput::make('cantidad')
|
||||||
|
|||||||
Reference in New Issue
Block a user