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