@extends('layouts.admin') @section('page_kicker', 'Roster') @section('page_title', 'Independent doctors') @section('content')

Create independent doctor

Role doctor, type independent, no hospital link.

@csrf

Directory

Verification and session counts

@foreach($doctors as $doctor)

{{ $doctor->user->name ?? 'N/A' }} · {{ $doctor->specialization }}

{{ $doctor->user->email ?? '' }} · {{ optional($doctor->user)->verified_at ? 'verified' : 'not verified' }} · {{ optional($doctor->user)->is_active ? 'active' : 'inactive' }}

Sessions: {{ \App\Models\Modules\Aim4Wellness\Models\Consultation::where('doctor_id', $doctor->user_id)->count() }} · Ratings: N/A

@if($doctor->user)
@csrf @method('PATCH')
@endif
@endforeach
{{ $doctors->links() }}
@endsection