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