@extends('themes.basic.businesses.layout') @section('title', d_trans(':business_name Reviews - Read Reviews About :business_domain', ['business_name' => ucFirst($business->trans->name), 'business_domain' => $business->domain])) @section('description', $business->trans->short_description) @section('keywords', $business->trans->tags) @section('og_image', $business->getLogoLink()) @section('breadcrumbs_schema', Breadcrumbs::view('breadcrumbs::json-ld', 'businesses.show', $business)) @section('breadcrumbs', Breadcrumbs::render('businesses.show', $business)) @section('container', 'container-custom') @section('write_button', true) @section('content')

{{ d_trans('Average Rating') }}

{{ $business->avg_ratings }}

/
5

{{ translate_choice(':count Review|:count Reviews', $business->total_reviews, [ 'count' => numberFormat($business->total_reviews), ]) }}

@foreach ([5, 4, 3, 2, 1] as $star)
{{ d_trans(':number Star', ['number' => $star]) }}
{{ $starPercentages[$star] }}%
@endforeach

{{ collect(request()->query())->count() > 0 ? d_trans('Filtered Reviews') : d_trans('All Reviews') }}

@if (collect(request()->query())->only(['search', 'country', 'review_time'])->count() > 0) {{ d_trans('Reset') }} @endif

{{ d_trans('Filter Reviews') }}

{{ d_trans('Review Time') }}

@if ($reviews->count() > 0)
@foreach ($reviews as $key => $review) @include('themes.basic.partials.review', [ 'review' => $review, 'review_referrer' => $business->getLink(), ]) @if ($key == 2) @endif @endforeach
@else
@include('themes.basic.partials.empty-box', [ 'empty_image' => 'v2', 'title' => d_trans('No Reviews Found'), 'description' => d_trans( 'No reviews have been submitted for this business or no matches for your search'), ])
@endif
{{ $reviews->links() }}
@if ($business->description || $business->hasAddressCompleted() || $business->email || $business->phone)

{{ d_trans('Business Details') }}

@endif @php $socialLinks = $business->social_links; @endphp @if ( ($socialLinks && @$socialLinks->facebook) || @$socialLinks->x || @$socialLinks->linkedin || @$socialLinks->youtube || @$socialLinks->instagram || @$socialLinks->pinterest)

{{ d_trans('Business Social Links') }}

@if (@$socialLinks->facebook) @endif @if (@$socialLinks->x) @endif @if (@$socialLinks->linkedin) @endif @if (@$socialLinks->youtube) @endif @if (@$socialLinks->instagram) @endif @if (@$socialLinks->pinterest) @endif
@endif @if ($similarBusinesses->count() > 0)

{{ d_trans('Similar Businesses') }}

@endif
@push('schema') {!! schema($__env, 'business', ['business' => $business]) !!} @endpush @push('styles_libs') @endpush @push('scripts_libs') @endpush @endsection