@foreach($tenants as $expert)
@if($expert->profile && $expert->profile->profile_image)
 }})
@elseif($expert->profile && $expert->profile->avatar_url)

@else
🧑⚕️
@endif
{{ $expert->name }}
{{ $expert->profile ? $expert->profile->title : 'Counsellor & Psychologist' }}
Location: {{ ($expert->profile && $expert->profile->office_address) ? $expert->profile->office_address : 'Online / Hybrid' }}
ERP ID: {{ $expert->erp_doctor_id }}
@php
$counsellor = isset($counsellors) ? $counsellors->where('first_name', $expert->name)->first() : null;
$counsellorId = $counsellor ? $counsellor->id : 1;
@endphp
@endforeach
No experts are currently registered on the platform.