@extends('layouts.admin') @section('title', 'Customer Reviews') @section('content')
Total Reviews: {{ $reviews->total() }}
@forelse($reviews as $review)
{{ $review->customer_name }}
{{ $review->customer_location }}
@for($i=1; $i<=5; $i++) @endfor

"{{ Str::limit($review->content, 200) }}"

@if(!$review->is_approved)
@csrf @method('PATCH')
@else Approved @endif
@csrf @method('PATCH')
@csrf @method('DELETE')
@empty

No reviews found.

@endforelse
{{ $reviews->withQueryString()->links() }}
@endsection