@foreach ($reviews as $review) @continue(! $review->is_approved && auth('customer')->id() != $review->customer_id)
! $loop->last, 'opacity-50' => ! $review->is_approved])>
{{ $review->user->name ?: $review->customer_name }}
@if (get_ecommerce_setting('show_customer_full_name', true)) {{ $review->user->name ?: $review->customer_name }} @else {{ Str::mask($review->user->name ?: $review->customer_name, '*', 1, -1) }} @endif
@if ($review->order_created_at)
{{ __('✅ Purchased :time', ['time' => $review->order_created_at->diffForHumans()]) }}
@endif @if (! $review->is_approved)
{{ __('Waiting for approval') }}
@endif
@include(EcommerceHelper::viewPath('includes.rating-star'), ['avg' => $review->star, 'size' => 80])
{{ $review->comment }}
@if ($review->images)
@foreach ($review->images as $image) {{ $review->comment }} @endforeach
@endif
@if ($review->reply)
{{ $review->reply->user->name }}
{{ $review->reply->user->name }}
{{ __('Admin') }}
{{ $review->reply->message }}
@endif
@endforeach {{ $reviews->links() }}