@if(isset($query->id)) @if($query->user_type === 'user')
avatar
{{ $query->first_name }} {{ $query->last_name }}
{{ $query->email ?? '--' }}
@elseif($query->user_type === 'provider')
avatar
{{ $query->first_name }} {{ $query->last_name }}
{{ $query->email ?? '--' }}
@elseif($query->user_type === 'handyman')
avatar
{{ $query->display_name }}
{{ $query->email ?? '--' }}
@else
-
@endif @else
-
@endif