{{ Form::label('Nombre') }} {{ Form::text('name', $refill->name, ['class' => 'form-control' . ($errors->has('name') ? ' is-invalid' : ''), 'placeholder' => 'Nombre']) }} {!! $errors->first('name', '
:message
') !!}
{{ Form::label('brand_id', 'Marca', ['class' => 'form-label']) }} {{ Form::select('brand_id', $brands, $refill->brand_id, ['class' => 'form-select ' . ($errors->has('brand_id') ? ' is-invalid' : '')]) }} {!! $errors->first('brand_id', '
:message
') !!}
{{ Form::label('Código') }} {{ Form::text('code', $refill->code, ['class' => 'form-control' . ($errors->has('code') ? ' is-invalid' : ''), 'placeholder' => 'Código']) }} {!! $errors->first('code', '
:message
') !!}
{{ Form::label('Precio costo') }} {{ Form::text('price', $refill->price, ['class' => 'form-control' . ($errors->has('price') ? ' is-invalid' : ''), 'placeholder' => 'Precio costo']) }} {!! $errors->first('price', '
:message
') !!}
{{ Form::label('Precio unitario') }} {{ Form::text('price_unit', $refill->price_unit, ['class' => 'form-control' . ($errors->has('price_unit') ? ' is-invalid' : ''), 'placeholder' => 'Precio unitario']) }} {!! $errors->first('price_unit', '
:message
') !!}
{{ Form::label('Cantidad') }} {{ Form::number('total', $refill->total, ['class' => 'form-control' . ($errors->has('total') ? ' is-invalid' : ''), 'placeholder' => 'Cantidad']) }} {!! $errors->first('quantity', '
:message
') !!}
{{ Form::label('Factura') }} {{ Form::file('invoice', ['class' => 'form-control' . ($errors->has('invoice') ? ' is-invalid' : ''), 'placeholder' => 'Factura']) }} {!! $errors->first('invoice', '
:message
') !!} @if($refill->invoice) Descargar @endif
{{ Form::label('Fecha de entrada') }} {{ Form::date('deliver_date', $refill->deliver_date, ['class' => 'form-control' . ($errors->has('deliver_date') ? ' is-invalid' : ''), 'placeholder' => 'Deliver Date']) }} {!! $errors->first('deliver_date', '
:message
') !!}