@extends('admin.layouts.app') @section('title', 'المرضى') @section('page-title', 'إدارة المرضى') @section('content')
قائمة المرضى {{ $patients->total() }} مريض
@forelse($patients as $user) @empty @endforelse
# المريض الهاتف الحالة الجنس فصيلة الدم تاريخ التسجيل إجراءات
{{ $user->id }}
{{ $user->name }}
{{ $user->email ?? '—' }}
{{ $user->phone ?? '—' }} @if($user->is_active) مفعّل @else بانتظار التفعيل @endif @if($user->patient?->gender === 'male') ذكر @elseif($user->patient?->gender === 'female') أنثى @else @endif @if($user->patient?->blood_type) {{ $user->patient->blood_type }} @else @endif {{ $user->created_at->format('Y/m/d') }}
@csrf @method('PATCH')
@if($user->patient) @endif
@csrf @method('DELETE')
لا يوجد مرضى مطابقون للبحث
@if($patients->hasPages()) @endif
@endsection