@extends('crm.layouts.app') @section('title', 'Google Reviews') @section('content') @if(!isset($isConnected) || !$isConnected)

Connect Google My Business

You need to connect your Google My Business account to view and manage your reviews.

Go to Settings to Connect

What you'll be able to do:

@else

Google Reviews

Monitor and respond to your Google My Business reviews

Average Rating

{{ $stats['average_rating'] }}

Total Reviews

{{ $stats['total_reviews'] }}

Response Rate

{{ $stats['response_rate'] }}%

Positive Reviews

{{ $stats['positive_reviews'] }}%

Rating Distribution

@foreach($ratingDistribution as $rating => $data)
{{ $rating }} stars
{{ $data['count'] }} ({{ $data['percentage'] }}%)
@endforeach
@if($reviews->count() > 0)
@foreach($reviews as $review)
{{ substr($review->reviewer_name ?? 'A', 0, 1) }}

{{ $review->reviewer_name ?? 'Anonymous' }}

{{ $review->review_date->format('M d, Y') }}

@for($i = 1; $i <= 5; $i++) @endfor
@if($review->review_text)

{{ $review->review_text }}

@endif
Posted on Google My Business
@if(!$review->studio_response) @endif View on Google
@if($review->studio_response)
Your Response {{ $review->responded_at->format('M d, Y') }}

{{ $review->studio_response }}

@endif
@endforeach
@if($reviews->hasPages()) @endif @else

No reviews yet

Your Google reviews will appear here once they're synced.

@endif @endif @push('scripts') @endpush @endsection