@include('admin.partials.page-header', [
'title' => 'تقرير المتابعة التعليمية للطالب',
'breadcrumbs' => $breadcrumbs,
])
@include('admin.partials.alerts')
{{-- ══════════════════════════════════════════════════════════
بطاقة هوية الطالب
══════════════════════════════════════════════════════════ --}}
{{-- ══════════════════════════════════════════════════════════
بطاقات الإحصائيات
══════════════════════════════════════════════════════════ --}}
{{-- ══════════════════════════════════════════════════════════
شريط التقدم — نسبة الالتزام بصريًا
══════════════════════════════════════════════════════════ --}}
@if($report['total'] > 0)
@endif
{{-- ══════════════════════════════════════════════════════════
جدول السجلات الكامل
══════════════════════════════════════════════════════════ --}}
{{ $student->full_name }}
@if($student->branch)
{{ $student->branch->name }}
@endif
@if($student->age)
{{ $student->age }} سنة
@endif
@if($student->phone)
{{ $student->phone }}
@endif
{{ $report['total'] }} جلسة مسجّلة
@can('student-progress-logs.create')
تسجيل جلسة جديدة
@endcan
إجمالي الجلسات
{{ $report['total'] }}
نسبة الالتزام
{{ $report['commitmentRate'] }}%
{{ $report['committed'] }} ملتزم / {{ $report['late'] }} متأخر
مستوى الإتقان الغالب
@php $masteryBadge = match($report['dominantMastery']) { 'ممتاز' => 'bg-success', 'جيد جداً' => 'bg-primary', 'جيد' => 'bg-info text-dark', 'مقبول' => 'bg-warning text-dark', 'ضعيف' => 'bg-danger', default => 'bg-secondary', }; @endphp{{ $report['dominantMastery'] }}
آخر جلسة مسجّلة
@if($report['lastLog']){{ optional($report['lastLog']->progress_date)->format('Y-m-d') }}
حفظ: {{ $report['lastLog']->memorization_amount }}
@elseلا يوجد سجل
@endif
نسبة الالتزام الكلي
{{ $report['commitmentRate'] }}%
السجل الكامل للمتابعة التعليمية
{{ $report['total'] }} سجل
@if($report['logs']->isEmpty())
@endif
لا يوجد سجل متابعة لهذا الطالب حتى الآن.
@else