@if(session('success'))
{{ session('success') }}
@endif

إجمالي الطلاب

{{ $students->total() }}

الطلاب النشطون

{{ $students->where('is_active', true)->count() }}

في حلقات

{{ $students->filter(function($student) { return $student->halaqat->count() > 0; })->count() }}

بدون حلقة

{{ $students->filter(function($student) { return $student->halaqat->count() == 0; })->count() }}

قائمة الطلاب

@forelse($students as $student) @empty @endforelse
الاسم الكامل التقييم البريد الإلكتروني الهاتف الحلقات الإجراءات
{{ mb_substr($student->full_name, 0, 1) }}
{{ $student->full_name }}
@for($i = 1; $i <= 5; $i++) @endfor
{{ $student->user->email }} {{ $student->phone ?? '-' }} @if($student->halaqat->count() > 0)
@foreach($student->halaqat as $halaqa)
{{ $halaqa->name }}
@csrf @method('DELETE')
@endforeach
@else لا يوجد @endif
لا يوجد طلاب مسجلون
{{ $students->links() }}