@if ($pending->isNotEmpty())

Waiting for your review

@foreach ($pending as $item) {{ $item->product_name }} Rate this product @endforeach
@endif

My reviews

@forelse ($reviews as $review)
@if ($review->title){{ $review->title }}@endif
$review->status === 'published', 'tone-info' => $review->status !== 'published'])>{{ $review->status === 'published' ? 'Live' : 'Being checked' }}

{{ $review->body }}

View product {{ $review->created_at->format('d M Y') }}
@csrf @method('DELETE')
@empty

No reviews yet

After an order is delivered, you can rate it here. Reviews help other buyers and the suppliers.

@endforelse @if ($reviews->hasPages())
{{ $reviews->links() }}
@endif