@extends('layouts.nursery') @section('title', $child->name) @section('content')
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

{{ $child->name }}

كود: {{ $child->code }}

@if($canEdit) تعديل البيانات @if($portalInviteUrl)
@csrf
@endif @endif ← قائمة الأطفال

المعلومات الأساسية

الجنس
{{ $child->gender === 'male' ? 'ذكر' : ($child->gender === 'female' ? 'أنثى' : '—') }}
تاريخ الميلاد
{{ $child->date_of_birth?->format('Y-m-d') ?? '—' }}
الفصل
{{ $child->activeEnrollment?->classroom?->name ?? 'غير معين لفصل' }}
حالة الحساب
{{ $child->status === 'active' ? 'نشط' : 'مؤرشف' }}

المعلومات الصحية

الحساسية
{{ $child->allergies ?: '—' }}
الأمراض
{{ $child->diseases ?: '—' }}
ملاحظات
{{ $child->health_notes ?: '—' }}

الأدوية

@include('nursery.partials.medications-readonly-table', ['medications' => $child->medications])

معلومات ولي الأمر

الاسم
{{ $child->guardian?->name }}
العلاقة
{{ $relationshipLabels[$child->guardian_relationship] ?? '—' }}
رقم الجوال
{{ $child->guardian?->phone }}
البريد
{{ $child->guardian?->email ?? '—' }}
رقم الهوية
{{ $child->guardian?->national_id ?? '—' }}
المنطقة
{{ \App\Support\SaudiRegions::regionLabel($child->guardian?->region) ?? '—' }}
المدينة
{{ $child->guardian?->city ?? '—' }}
العنوان
{{ $child->guardian?->address ?? '—' }}

مستندات الطفل

@if($canEdit)

تعديل الطفل لرفع مستندات جديدة.

@endif
@include('nursery.partials.child-daily-activity')
@if($canManageChildAttendance)
@csrf
@csrf
@endif

سجل الحضور (آخر 14 يوم)

@endsection