{{ $parent->ratings->where('status_id', 1)->count() }} {{ str_plural('Rating', $parent->ratings->where('status_id', 1)->count()) }}
@foreach($parent->ratings->where('status_id', 1)->sortBy('created_at') as $rating)
{{ $rating->user->name }}
@for ($i = 0; $i < $rating->rating; $i++) @endfor

{!! nl2br(e($rating->body)) !!}

@if(Auth::check()) @if($rating->user_id == Auth::id() or Auth::user()->hasRole('admin')) Edit   Delete   @endif @endif Report
@if(Auth::check()) @if($rating->user_id == Auth::id() or Auth::user()->hasRole('admin')) @endif @endif
@endforeach @if($parent->ratings->where('status_id', 1)->count() == 0)

Be the first to leave a rating using the form below

@endif
@if(!isset($parent->userRating))
@if($parent->userRating) Update Your Rating @else Leave a Rating @endif
@if (Auth::guest())


You need to have an account to post a rating.
Already have an account? Login!
Register for a free account here.

@else @if($parent->userRating)
{{ csrf_field() }} {!! method_field('patch') !!}
@else
{{ csrf_field() }}
@endif @endif
@endif