@if(isset($query->providers)) @if($query->providers->user_type=='provider') @else @endif
avatar
{{ optional($query->providers)->display_name }}
{{ optional($query->providers)->email ?? '--' }}
@else
{{ '-' }}
@endif