@extends($layout_path) @section('title', $app_setting['name'] . ' | ' . __('Testimonial List')) @section('header-title')

{{ __('Testimonial Management') }}

@endsection @section('content')
{{-- top --}}
@forelse ($testimonials as $testimonial) @empty @endforelse
# {{ __('Name') }} {{ __('Designation') }} {{ __('Review') }} {{ __('Status') }} {{ __('Action') }}
{{ generateID($testimonial->id) }}
image

{{ ucwords($testimonial->name) }}

{{ ucwords($testimonial->designation) }} @php $rating = $testimonial->rating; $fullStars = floor($rating); $hasHalfStar = $rating - $fullStars >= 0.5; @endphp @for ($i = 1; $i <= 5; $i++) @if ($i <= $fullStars) @elseif ($hasHalfStar && $i == ceil($rating)) @else @endif @endfor @if (!$testimonial->is_active)
{{ __('Pending') }}
@else
{{ __('Active') }}
@endif
@if ($testimonial->trashed()) {{ __('Restore Testimonial') }} @else {{ __('Edit Testimonial') }} {{ __('Delete Testimonial') }} @endif
{{ __('No Queries Available') }}
{{ $testimonials->links() }}
{{-- bottom --}}
@endsection