@extends('layouts.app') @section('title', 'Shop Reviews - Vendor') @section('content')
@include('vendor.partials.sidebar-column')

Customer Feedback

@forelse($reviews as $review)
{{ $review->user->name }}
{{ $review->created_at->format('d M, Y') }}
@for($i = 1; $i <= 5; $i++) @endfor
Reviewed Product:
{{ $review->product->name }}

"{{ $review->review }}"

@if($review->vendor_reply)
Your Official Response {{ $review->replied_at ? $review->replied_at->format('d M, Y') : '' }}

{{ $review->vendor_reply }}

@else
@csrf
@endif
@empty

No Reviews Yet

Feedback from your customers will appear here.

@endforelse
{{ $reviews->links('pagination::bootstrap-5') }}
Reputation IQ
{{ number_format($stats['avg_rating'], 1) }}
@for($i = 1; $i <= 5; $i++) @endfor
Shop Global Rating

Total Verified Reviews {{ $stats['total_reviews'] }}
Response Pulse
Pending Responses
{{ $stats['pending_replies'] }}
Recent Trends
@foreach($recentActivities as $activity)
@if($activity['type'] == 'star') @elseif($activity['type'] == 'reply') @else @endif
{{ $activity['title'] }}
{{ $activity['time'] }}
@endforeach
Replying to reviews within 24 hours increases customer trust by 40%.
@endsection