@extends('admin.layouts.app') @section('title', 'الأطباء') @section('page-title', 'إدارة الأطباء') @section('content') {{-- فلاتر البحث --}}
{{-- الجدول --}}
قائمة الأطباء
{{ $doctors->total() }} طبيب إضافة طبيب
@forelse($doctors as $doc) @empty @endforelse
# الطبيب التخصص المدينة التقييم الاشتراك الحالة إجراءات
{{ $doc->id }}
{{ $doc->user->name }}
{{ $doc->user->email }}
{{ $doc->specialty }} {{ $doc->city ?? '—' }} {{ number_format($doc->rating, 1) }} ({{ $doc->total_reviews }}) @if($doc->activeSubscription) {{ $doc->activeSubscription->plan->name_ar }} @else لا يوجد @endif @if($doc->status === 'pending') بانتظار الموافقة @elseif($doc->status === 'active') {{ $doc->is_verified ? '✓ موثق' : 'نشط' }} @else موقوف @endif
@if($doc->status === 'pending')
@csrf @method('PATCH')
@elseif($doc->status === 'active')
@csrf @method('PATCH')
@endif
@csrf @method('DELETE')
لا يوجد أطباء مطابقون للبحث
@if($doctors->hasPages()) @endif
@endsection