@foreach($departments as $dept) @endforeach
Doctor Info Specialization Fee Status Actions @forelse($doctors as $doctor)
{{ substr($doctor->full_name, 0, 2) }}

{{ $doctor->full_name }}

#{{ $doctor->doctor_code ?: 'N/A' }}

{{ $doctor->department?->name ?? 'No Department' }}

{{ $doctor->specialization }}

{{ $doctor->qualification }}

₹{{ number_format($doctor->consultation_fee) }} {{ $doctor->is_active ? 'Active' : 'Inactive' }}
@empty @endforelse
@if($doctors->hasPages())
{{ $doctors->links() }}
@endif