@extends('shop::customers.account.index')
@section('page_title')
{{ __('shop::app.customer.account.review.index.page-title') }}
@endsection
@section('page-detail-wrapper')
{{ __('shop::app.customer.account.review.index.title') }}
@if (count($reviews) > 1)
@endif
{!! view_render_event('bagisto.shop.customers.account.reviews.list.before', ['reviews' => $reviews]) !!}
@if (! $reviews->isEmpty())
@foreach ($reviews as $review)
@php
$image = product_image()->getProductBaseImage($review->product);
@endphp
@endforeach
{{ $reviews->links() }}
@else
{{ __('customer::app.reviews.empty') }}
@endif
{!! view_render_event('bagisto.shop.customers.account.reviews.list.after', ['reviews' => $reviews]) !!}
@endsection
@push('scripts')
@endpush