@if ($hospitals->isNotEmpty())
# |
Name |
Province |
District |
Type |
Address |
City |
Country |
Action |
# |
Name |
Province |
District |
Type |
Address |
City |
Country |
Action |
@foreach ($hospitals as $hospital)
{{ $loop->iteration }} |
{{ $hospital->name }} |
{{ $hospital->province->name ?? 'N/A' }} |
{{ $hospital->district }} |
{{ $hospital->type }} |
{{ limit_words($hospital->address, 20) }} |
{{ $hospital->city->name ?? 'N/A' }} |
{{ $hospital->country->name ?? 'N/A' }} |
|
@endforeach
@else
No records found.
@endif