Clinic Management Total Clinics: {{ $clinics->total() ?? 0 }}

{{-- Success Message --}} @if (session()->has('message')) @endif
@forelse ($clinics as $clinic) @empty @endforelse
Name {!! $sortField === 'name' ? ($sortDirection === 'asc' ? '↑' : '↓') : '' !!} Email City Specialities Subscription Plan Clinic Id QR Images Status {!! $sortField === 'status' ? ($sortDirection === 'asc' ? '↑' : '↓') : '' !!}
{{ $clinic->name }} {{ $clinic->email }} {{ $clinic->city ?? 'N/A' }} @if ($clinic->specialities) {{ implode(', ', array_slice((array) $clinic->specialities, 0, 2)) }} @if (count((array) $clinic->specialities) > 2) ... @endif @else N/A @endif @if ($clinic->subscription && $clinic->subscription->plan) {{ $clinic->subscription->plan->plan_name }} @else No Subscription @endif {{ $clinic->id }} @php $qrFile = basename($clinic->qr_code); @endphp Clinic QR Code @if ($clinic->status === 'active') Active @else Inactive @endif
No clinics found.
{{-- Pagination --}}