@include('doctor-sidebar')

Doctor Dashboard

{{ $normalWeightCount }}
Normal
{{ $overweightCount }}
Overweight
{{ $unknownCount }}
Unknown

Patients Summary

Male icon
Female icon
Male
{{ $malePatients }}
Female
{{ $femalePatients }}
Male icon
Female icon
Total appointment
{{ $totalAppointments }}
Pending appointment
{{ $pendingAppointments }}

Appointments

View More
Name
Location
Date
Time
Status
@foreach ($latestAppointments as $appointment)
{{ $appointment->patient->name }} avatar
{{ $appointment->patient->name }}
{{ $appointment->location }}
{{ $appointment->consultation_date }}
{{ $appointment->consultation_time }}
@if ($appointment->consultation_status === 'cancelled' || $appointment->consultation_status === 'declined') {{ ucfirst($appointment->consultation_status) }} @elseif ($appointment->consultation_status === 'pending') {{ ucfirst($appointment->consultation_status) }} @elseif ($appointment->consultation_status === 'approved') {{ ucfirst($appointment->consultation_status) }} @else {{ ucfirst($appointment->consultation_status) }} @endif
@endforeach