{{-- flash message starts here --}}
@if ($errors->any())
@endif
@if(Session::has('success'))
{{-- flash message ends here --}}
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{{Session::get('success')}}
@endif
{{-- filters starts --}}
{{-- filters --}}
{{-- @include('admin.partials.filters.locationFilter') --}}
{{-- filters ends --}}
--}}
{{-- Filters --}}
Ratings
{{--
@if( count($ratings) != 0 )
@else
@endif
{{$ratings->links()}}
| # | User | Rating | Comment | Status | Action | |
|---|---|---|---|---|---|---|
|
{{$sr}} |
{{--
@php
$imageArray = json_decode($rating->images);
if(!empty($imageArray)){
foreach($imageArray as $imageData){
$image = $imageData;
break;
}
}else{
$image = null;
}
@endphp
@if(!empty($image) && !empty($image->url))
| --}}
{{$rating->getUserInfo->name}} |
{{$rating->rating}} |
{{$rating->comment}} |
|
{{-- View --}} {{-- Edit --}} Delete |