@if (count($errors) > 0)
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
{!! Form::open(['route' => ['work_order.update',$data->id],'method'=>'PATCH']) !!}
{!! Form::hidden('user_id',Auth::user()->id)!!}
{!! Form::hidden('id',$data->id)!!}
{!! Form::label('vehicle_id',__('fleet.vehicle'), ['class' => 'form-label']) !!}
{!! Form::label('note',__('fleet.note'), ['class' => 'form-label']) !!}
{!! Form::textarea('note',$data->note,['class'=>'form-control','size'=>'30x4']) !!}
{!! Form::label('vendor_id',__('fleet.vendor'), ['class' => 'form-label']) !!}
{!! Form::label('status',__('fleet.status'), ['class' => 'form-label']) !!}
{!! Form::select('status',["Pending"=>"Pending", "Processing"=>"Processing", "Completed"=>"Completed","Hold"=>"Hold"],$data->status,['class' => 'form-control','required']) !!}
{!! Form::label('description',__('fleet.description'), ['class' => 'form-label']) !!}
{!! Form::textarea('description',$data->description,['class'=>'form-control','size'=>'30x4']) !!}
{!! Form::submit(__('fleet.update'), ['class' => 'btn btn-warning']) !!}