@if(count($product->reviews) > 0) @if(count($product->reviews->where('approved', 1)->where('rating', '!=', null)) > 0)
{{$review->user->name}} @php $empty_stars = 5 - $review->rating; @endphp @for($i=1; $i <= $review->rating; $i++) @endfor @for($i=1; $i <= $empty_stars; $i++) @endfor @if($review->user_id == Auth::user()->id) @lang('Edit Review') @endif
{{$review->created_at->toFormattedDateString()}}
@lang('Pending for approval from administrators'){{$review->comment}}