@extends('layouts.admin') @section('title', 'Ratings') @section('content')
@forelse ($reviews as $r) @empty @endforelse
RatingCommentByForAboutStatusWhen
{!! str_repeat('★', $r->rating) !!}{!! str_repeat('★', 5 - $r->rating) !!} {{ $r->comment ?: '—' }} {{ $r->reviewer->displayName() }} {{ $r->reviewee?->displayName() ?? '—' }} @if ($r->reviewable_type === 'transport_booking')Booking #{{ $r->reviewable_id }}@else{{ humanize($r->reviewable_type) }} #{{ $r->reviewable_id }}@endif @include('partials.status', ['status' => $r->status_id]) {{ ist($r->created_at, 'd M Y') }} @include('partials.actions', ['actions' => app(\App\Services\StatusService::class)->availableActions('review', $r->status_id, auth()->user()), 'route' => route('admin.reviews.status', $r), 'id' => 'rv'.$r->id])
No ratings yet.
{{ $reviews->links() }}
@endsection