@lang('View Testimonials')
@can('delete', App\Testimonial::class) {{csrf_field()}}
@endcan
@lang('Advanced Search')
@can('delete', App\Testimonial::class) @endcan @if($testimonials) @foreach($testimonials as $testimonial) @can('delete', App\Testimonial::class) @endcan @endforeach @endif
@lang('ID') @lang('Photo') @lang('Author') @lang('Designation') @lang('Review') @lang('Priority') @lang('Status') @lang('Created') @lang('Action')
{{$testimonial->id}} @if($testimonial->photo) @php $image_url = \App\Helpers\Helper::check_image_avatar($testimonial->photo->name, 50); @endphp {{$testimonial->author}} @else {{$testimonial->author}} @endif {{$testimonial->author}} {{$testimonial->designation ? $testimonial->designation : '-'}} {{$testimonial->review}} {{$testimonial->priority}} {{$testimonial->is_active ? 'Active' : 'Inactive'}} {{$testimonial->created_at}} @if((Auth::user()->can('update', App\Testimonial::class)) || (Auth::user()->can('delete', App\Testimonial::class))) @can('update', App\Testimonial::class) @endcan   @can('delete', App\Testimonial::class) @endcan @endif