@extends('layout') @section('content') @php $isLogged = auth()->check(); $isTalent = $isLogged && (!empty(auth()->user()->is_talent) || (auth()->user()->role ?? '') === 'talent'); @endphp @if($isLogged && !$isTalent)
{{ $talent->email }}
@if(($talent->total_ratings ?? 0) > 0)★ {{ number_format($talent->average_rating ?? 0, 1) }}/5 ({{ $talent->total_ratings ?? 0 }} ulasan) @if(!is_null($talent->distance_km)) {{ number_format($talent->distance_km, 2) }} km @endif
@elseBelum ada ulasan @if(!is_null($talent->distance_km)) {{ number_format($talent->distance_km, 2) }} km @endif
@endif @if($talent->services->isNotEmpty())No services available
@endifNo talents found matching your search.
{{ $review->customer->name }}
{{ $review->service->name }}{{ $review->review }}
@endifBelum ada ulasan dari pelanggan.
Ulasan akan muncul setelah pelanggan menyelesaikan booking dan memberikan rating.