Main - Visiting Consultants
Hover to see doctor's information
@if ($doctorsBySpecialties->isNotEmpty())
| No. |
Specialization |
@foreach ($doctorsBySpecialties as $specialty)
|
{{ $loop->iteration }}
|
{{ $specialty->name }}
|
@if ($specialty->doctors->isNotEmpty())
|
@foreach ($specialty->doctors->where('branch', 'OLMCMC Main')->sortBy('last_name') as $doctor)
- {{ $doctor->prefix }} {{ $doctor->last_name }}, {{ $doctor->first_name }} {{ mb_substr($doctor->middle_name, 0, 1) . '.' }} {{ $doctor->modalities ? '('.$doctor->modalities.')' : '' }}
@endforeach
|
@endif
@endforeach
@else
No data available
@endif
{{-- @if ($doctors->isNotEmpty())
| No. |
Specialization |
@foreach ($doctors as $doctor)
|
{{ $loop->iteration + $doctors->firstItem() - 1 }}
|
{{ $doctor->specialty }}
|
@if ($doctor->doctors)
|
@php
$doctorNames = explode(' , ', $doctor->doctors);
@endphp
@foreach ($doctorNames as $name)
- {{ $name }} {{ $doctor->modalities ? '('.$doctor->modalities.')' : '' }}
@endforeach
|
@endif
@endforeach
@else
No data available
@endif
{{ $doctors->onEachSide(0)->withQueryString()->links() }}
--}}