@extends('user.layout.master') @section('content') @php $reviews = $service->orders->pluck('reviews')->flatten(); if ($reviews->count() > 0) { $average_rating = round($reviews->avg('rating'), 2); } else { $average_rating = 0; } @endphp
{{ $review->review }}