@if($stats['total'] > 0)
| {{ __('Client') }} |
{{ __('Rating') }} |
{{ __('Content') }} |
{{ __('Status') }} |
{{ __('Created') }} |
{{ __('Actions') }} |
@foreach(\App\Models\Testimonial::latest()->take(5)->get() as $testimonial)
@if($testimonial->client_avatar)

@else
@endif
{{ $testimonial->client_name }}
@if($testimonial->client_position)
{{ $testimonial->client_position }}
@endif
|
{!! $testimonial->getRatingStars() !!}
|
{{ Str::limit($testimonial->content, 100) }}
|
@if($testimonial->is_active)
{{ __('Active') }}
@else
{{ __('Inactive') }}
@endif
@if($testimonial->is_featured)
{{ __('Featured') }}
@endif
|
{{ $testimonial->created_at->format('M d, Y') }} |
|
@endforeach
@else
{{ __('No testimonials yet') }}
{{ __('Start by adding your first client testimonial.') }}
{{ __('Add First Testimonial') }}
@endif