@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)
@method('delete') @csrf
{{ __('shop::app.customer.account.review.delete-all.title') }}
@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
{{ $review->product->name }}
{{ $review->title }}

{{ $review->comment }}

@method('delete') @csrf
{{ __('shop::app.checkout.cart.remove') }}
@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