@extends('public.account.layout') @section('title', trans('storefront::account.pages.my_reviews')) @section('account_breadcrumb')
  • {{ trans('storefront::account.pages.my_reviews') }}
  • @endsection @section('panel')

    {{ trans('storefront::account.pages.my_reviews') }}

    @if ($reviews->isEmpty())

    {{ trans('storefront::account.reviews.no_reviews') }}

    @else
    @foreach ($reviews as $review) @endforeach
    {{ trans('storefront::account.image') }} {{ trans('storefront::account.product_name') }} {{ trans('storefront::account.status') }} {{ trans('storefront::account.date') }} {{ trans('storefront::account.reviews.rating') }}
    @if ($review->product->base_image->exists) {{ $review->product->name }} @else @endif
    {{ $review->product->name }} {{ $review->status() }} {{ $review->created_at->toFormattedDateString() }} @include('public.account.reviews.partials.product_rating')
    @endif
    @endsection