@extends('admin.layout.app') @section('style') @endsection @section('content')
{{-- --}} @foreach($items as $item) {{-- --}} @endforeach
# الاسم رقم التلفون البريد الالكتروني الرسالةعرض الرسالة الحالة تاريخ الارسال
{{$item->id}} {{$item->User->name ?? $item->name }} {{$item->User->phone ?? $item->phone }} {{$item->User->email ?? $item->email}} {{$item->message}} {{$item->created_at->format('Y-m-d h:i a')}} عرض @if(auth()->user()->role == 'admin' ) حذف @endif {!!Form::model($item , ['url' => ['/dashboard/feedbacks/'.$item->id] , 'method' => 'PATCH','files'=>true]) !!} {!! Form::select("status",FeedBackClientAnswer(),null,['class'=>"form-control select2", "autocomplete"=> 'off', "onchange" => "$(this).closest('form').submit()"])!!} {!!Form::close() !!}
{!! $items->appends($search)->links() !!}
@endsection @section('script') @endsection