@extends('layouts.admin') @section('page_kicker', 'Telehealth') @section('page_title', 'Patient management') @section('content')

Registered patients

Edit profile details and account status.

@foreach($patients as $patient)

{{ $patient->name }}

{{ $patient->is_active ? 'Active' : 'Inactive' }}

{{ $patient->email }} ยท {{ $patient->phone ?? 'N/A' }}

Consultations: {{ \App\Models\Modules\Aim4Wellness\Models\Consultation::where('patient_id', $patient->id)->count() }}

@csrf @method('PATCH')
@endforeach
{{ $patients->links() }}
@endsection