@foreach($product as $prod)
@endforeach
{{ $prod->name }}
@foreach($reviews as $review)
@for($i = 1; $i <= 5; $i ++)
@if($review->rew > 0)
@while($i <= round($review->rating/$review->rew))
@endwhile
@endif
@endfor
@endforeach
@if($prod->discount != null)
{{ $prod->price-($prod->price*$prod->discount/100) }} AZN
@else
{{ $prod->price }} AZN
@endif







{{ count($comments) }} rəy
@foreach($comments as $comment)-
{{-- admin Post author--}}
{{ $comment->post_date }} saat {{ $comment->post_time }}
{{-- --}}
{{-- Reply--}}
{{-- --}}
@endforeach