just updated {{-- {!!Form::model($item , ['url' => ['/dashboard/orders/'.$item->id] , 'method' => 'PATCH','files'=>true]) !!} {!! Form::select("status",OrderStatus($item->status),null,['class'=>"form-control select2", "autocomplete"=> 'off', "onchange" => "$(this).closest('form').submit()"])!!} {!!Form::close() !!} --}} {{$item->Company->name ?? ''}} {{$item->Company->phone ?? ''}} {{$item->recipent_name}} {{$item->phone}} @if (auth('admin')->user()->role == 'admin') {{$item->BranchData->Admin->name ?? '' }} @endif {{ $item->City->name ?? '' }} {{$item->adress_details}} {{$item->packages_number}} {{$item->price}} {{$item->PaymentMethod->name ?? '' }} {{$item->Driver->first_name ?? '' }} {{$item->Car->name ?? '' }} {{-- {{$item->notes}} --}} {!!Form::model($item , ['url' => ['/dashboard/orders/'.$item->id] , 'method' => 'PATCH','files'=>true , 'class'=>'form']) !!} {!! Form::hidden('update_row', '1', []) !!} {!! Form::select("status",OrderStatus($item->status),null,['class'=>"form-control select2", "autocomplete"=> 'off', "onchange" => "$(this).closest('form').submit()"])!!} {!!Form::close() !!} {{$item->refrence_no}} {{$item->serial}} {{$item->created_at}}