@can('delete', App\Testimonial::class)
|
@endcan
{{$testimonial->id}} |
@if($testimonial->photo)
@php
$image_url = \App\Helpers\Helper::check_image_avatar($testimonial->photo->name, 50);
@endphp
@else
@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
|
@endforeach
@endif