@extends('layouts.adminlayout') @section('content')
@include('admin.adminnavbar')

Manage Ratings Ads

All Rareports
@foreach ($ratings as $rating)
Rating ID: #{{ $rating->id }}
{{ $rating->ad->title }}
Rating By: {{ $rating->buyer->name ?? 'Deleted User' }} ({{ $rating->buyer->email ?? 'N/A' }})
Ad Owner: {{ $rating->seller->name ?? 'Deleted User' }} ({{ $rating->seller->email ?? 'N/A' }})
Message: {{ $rating->comment }}
Rating: @for ($i = 1; $i <= 5; $i++) @if ($i <= $rating->rating) @else @endif @endfor
Rated on: {{ $rating->created_at->format('d M Y, h:i A') }}
@endforeach {{ $ratings->links('pagination::bootstrap-5') }} @if ('success') @endif
@endsection