@if (count($errors) > 0)
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
{!! Form::open(['route' => ['customers.update',$data->id],'method'=>'PATCH']) !!}
{!! Form::hidden('id',$data->id) !!}
{!! Form::label('first_name', __('fleet.firstname'), ['class' => 'form-label']) !!}
{!! Form::text('first_name', $data->getMeta('first_name'),['class' => 'form-control','required']) !!}
{!! Form::label('last_name', __('fleet.lastname'), ['class' => 'form-label']) !!}
{!! Form::text('last_name', $data->getMeta('last_name'),['class' => 'form-control','required']) !!}
{!! Form::submit(__('fleet.update'), ['class' => 'btn btn-warning']) !!}
{!! Form::close() !!}