@if ($errors->any())
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
{!! Form::model($sparepart, ['method' => 'PATCH', 'action' => ['SparepartsController@update', $sparepart->id]]) !!}
{!! Form::label('requestid', 'Requestid: ') !!}
{!! Form::text('requestid', null, ['class' => 'form-control']) !!}
{!! Form::label('employeeid', 'Employeeid: ') !!}
{!! Form::text('employeeid', null, ['class' => 'form-control']) !!}
{!! Form::label('sparepart', 'Sparepart: ') !!}
{!! Form::text('sparepart', null, ['class' => 'form-control']) !!}
{!! Form::submit('Update', ['class' => 'btn btn-primary form-control']) !!}
{!! Form::close() !!}