provider
@php $rating = round($providers_service_rating, 1); @endphp @foreach(range(1,5) as $i) @if($rating >0) @if($rating >0.5) @else @endif @endif @php $rating--; @endphp @endforeach ({{ round($providers_service_rating,1) }})
{{ $data->display_name }}
@php $providerDocuments = $data->providerDocument ?? null; $verifiedDisplayed = false; // Boolean flag to check if the verified icon has been displayed @endphp @if($providerDocuments) @foreach ($providerDocuments as $document) @if ($document->is_verified && !$verifiedDisplayed) @php $verifiedDisplayed = true; // Set the flag to true after displaying the icon @endphp @endif @endforeach @endif
{{ $data->designation }}