@extends('backend.partials.master') @section('title') {{ ___('admin.my_reviews_e53c71') }} @endsection @section('maincontent') {{-- Trips that are paid for and taken but not yet reviewed. This is the prompt that actually produces reviews; a list on its own never does. --}} @if($pending->isNotEmpty())

{{ ___('admin.how_was_your_trip_439429') }}

@foreach($pending as $b)
{{ $b->package->title ?? ___('admin.tour_cd9e8f') }}
BKG-{{ str_pad($b->id, 5, '0', STR_PAD_LEFT) }} · {{ $b->travel_date?->translatedFormat('d M Y') }}
@endforeach
@endif @forelse($reviews as $r) {{ $r->package->title ?? '—' }} @if($r->isVerified())
✓ {{ ___('admin.verified_booking_c520df') }} @endif {{ str_repeat('★', $r->rating) }} {{ $r->title ?: '—' }} @if($r->comment)
{{ Str::limit($r->comment, 90) }}@endif @if($r->reply)
{{ ___('admin.reply_c5bacb') }} {{ Str::limit($r->reply, 90) }} @endif {!! $r->statusBadge() !!} {{ $r->created_at->translatedFormat('d M Y') }} @empty {{ ___('admin.you_have_not_reviewed_a_trip_yet_cd01a7') }} @endforelse
@foreach($pending as $b) @endforeach
@endsection