@if(Auth::user()->hasRatingProduct($product)) @if(Auth::user()->productRating($product) == 5) ☆ ☆ ☆ ☆ ☆ @elseif(Auth::user()->productRating($product) == 4) ☆ ☆ ☆ ☆ ☆ @elseif(Auth::user()->productRating($product) == 3) ☆ ☆ ☆ ☆ ☆ @elseif(Auth::user()->productRating($product) == 2) ☆ ☆ ☆ ☆ ☆ @elseif(Auth::user()->productRating($product) == 1) ☆ ☆ ☆ ☆ ☆ @endif @else ☆ ☆ ☆ ☆ ☆ @endif