@extends('secretary.layouts.app') @section('title','سجل المرضى') @section('page-title','سجل المرضى') @section('content')
مريض جديد
المرضى المسجلون {{ $patients->total() }}
@forelse($patients as $p) @empty @endforelse
المريضالهاتفالجنسفصيلة الدمأمراض مزمنةإجراءات
{{ $p->user->name }}
@if($p->date_of_birth) {{ $p->date_of_birth->age }} سنة @endif
{{ $p->user->phone ?? '—' }} {{ $p->gender==='male' ? 'ذكر' : ($p->gender==='female' ? 'أنثى' : '—') }} @if($p->blood_type) {{ $p->blood_type }} @else — @endif @if($p->chronic_diseases) {{ Str::limit($p->chronic_diseases,30) }} @else @endif
@csrf
لا يوجد مرضى مطابقون
@if($patients->hasPages()) @endif
@endsection