@extends('layouts.app') @section('title', $app_setting['name'] . ' | '.__('Testimonial List')) @section('content')
{{-- top --}}

{{ __('Testimonial List') }}

{{ __('+ Add New Testimonial') }}
{{--
@forelse ($testimonials as $key => $testimonial) @empty @endforelse
# Image Name Designation Status Action
{{ $key + 1 }} {{ $testimonial->name }} {{ $testimonial->designation }} @if ($testimonial->status == 1) Active @else Inactive @endif Edit
no content available
--}}
@forelse ($testimonials as $testimonial) @empty @endforelse
# {{ __('Image') }} {{ __('Name') }} {{ __('Degisnation') }} {{ __('Review') }} {{ __('Status') }} {{ __('Action') }}
{{ $loop->iteration }}
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 == 0)
{{ __('Pending') }}
@else
{{ __('Active') }}
@endif
@if ($testimonial->trashed()) @else icon icon @endif
{{ __('No Queries Available') }}
{{ $testimonials->links() }}
{{-- bottom --}}
@endsection