@extends(EcommerceHelper::viewPath('customers.master')) @section('title', SeoHelper::getTitle()) @section('content') @if($products->isNotEmpty() || $reviews->isNotEmpty()) @include(EcommerceHelper::viewPath('customers.product-reviews.icons'))
@if ($products->isNotEmpty())
@foreach ($products as $product)
{{ RvMedia::image($product->order_product_image ?: $product->image, $product->name, 'thumb', true, ['class' => 'img-fluid rounded-start ecommerce-product-image']) }}
{!! BaseHelper::clean($product->order_product_name ?: $product->name) !!}
@if ($product->order_completed_at)
{{ __('Order completed at') }}:
@endif
@for ($i = 5; $i >= 1; $i--) @endfor
@endforeach
@else @endif
@include(EcommerceHelper::viewPath('customers.product-reviews.reviewed'))
@include(EcommerceHelper::viewPath('customers.product-reviews.modal'))
@else @include(EcommerceHelper::viewPath('customers.partials.empty-state'), [ 'title' => __('No reviews yet!'), 'subtitle' => __('You have not reviewed any products yet.'), 'actionUrl' => route('public.products'), 'actionLabel' => __('Start shopping now'), ]) @endif @endsection