@props(['customer_reviews'])
@php use App\Services\MediaService; @endphp @foreach ($customer_reviews as $reviews) @php $img = app(MediaService::class)->getMediaImageUrl($reviews->user_profile); $img = app(MediaService::class)->dynamic_image($img, 80); @endphp
{{ $reviews->user_name }}

{{ $reviews->comment }}

@php $images = json_decode($reviews->images); @endphp @if ($images != '' || $images != null) @if (count($images) != 0) @foreach ($images as $image) @php $image = app(MediaService::class)->dynamic_image(app(MediaService::class)->getMediaImageUrl($image), 80); @endphp @endforeach @endif @endif
@php $show = false; @endphp @if ($show == true) @if (auth()->id() == $reviews->user_id) @endif @endif
@endforeach