{{ $parent->full_name }}
{{ $parent->status === 'active' ? 'نشط' : 'غير نشط' }}{{ $parent->phone }}
{{ $parent->email ?? '—' }}
{{ $parent->address ?? '—' }}
| اسم الطالب | الصف | صلة القرابة | نوع ولي الأمر | الوصول للبوابة |
|---|---|---|---|---|
| {{ $student->grade ? $student->grade->name : '—' }} | @php $relationships = [ 'father' => 'أب', 'mother' => 'أم', 'grandfather' => 'جد', 'grandmother' => 'جدة', 'uncle' => 'عم/خال', 'aunt' => 'عمة/خالة', 'guardian' => 'وصي', 'brother' => 'أخ', 'sister' => 'أخت', 'other' => 'أخرى' ]; @endphp {{ $relationships[$student->pivot->relationship_type] ?? $student->pivot->relationship_type }} | @if($student->pivot->is_primary) ⭐ رئيسي @else ثانوي @endif | @if($student->pivot->can_access_portal) ✓ مفعل @else ✗ معطل @endif |
لا يوجد أبناء مرتبطون بهذا ولي الأمر
إضافة طلاب