@extends('layouts.base') @push('page_title') {{ __('Doctors') }} @endpush @section('content')

Medical Practitioners

@forelse ($doctors as $doctor)

{{ $doctor->doctor_name }}

{{ $doctor->position }}
{{ $doctor->specialty->name ?? '-' }}
    @if ($doctor->room_number)
  • {{ $doctor->room_number }}
  • @endif @if ($doctor->schedule)
  • {{ $doctor->schedule }}
  • @endif @if ($doctor->contact_number)
  • {{ $doctor->contact_number }}
  • @endif @if ($doctor->email)
  • {{ $doctor->email }}
  • @endif
{{-- --}}

{{ $doctor->doctor_name }}

{{ $doctor->specialty->name ?? '-' }}
@empty

No data available

@endforelse
{{ $doctors->onEachSide(0)->withQueryString()->links() }}
@endsection