المتأخرون في سداد الرسوم

إدارة الرسوم
{{-- Summary Cards --}}
👥

عدد المتأخرين

{{ $totalLate }}

طالب لم يسدد كامل رسومه

💰

إجمالي المتبقٍ

{{ number_format($totalOutstanding) }}

ريال

ما تم تحصيله

{{ number_format($totalCollected) }}

ريال من هؤلاء الطلاب

{{-- Filter --}}
@if($gradeId) ✕ إلغاء التصفية @endif
{{-- Table --}}
@if($lateStudents->isEmpty())
🎉

لا يوجد متأخرون!

جميع الطلاب سددوا رسومهم بالكامل

@else
@foreach($lateStudents as $student) @php $fs = $student->financial_status; $total = $fs['total_fees_after_discount'] ?? $fs['total_fees']; $paid = $fs['total_paid']; $balance = $fs['balance']; $pct = $total > 0 ? round(($paid / $total) * 100) : 0; $barColor = $pct >= 75 ? 'bg-yellow-400' : ($pct >= 40 ? 'bg-orange-400' : 'bg-red-500'); @endphp @endforeach
الطالب الصف إجمالي الرسوم المدفوع المتبقٍ نسبة السداد
{{ mb_substr($student->full_name, 0, 1) }}

{{ $student->full_name }}

@if($student->parent)

ولي الأمر: {{ $student->parent->full_name ?? '---' }}

@endif
{{ $student->grade->name ?? '---' }} {{ number_format($total) }} ريال {{ number_format($paid) }} ريال {{ number_format($balance) }} ريال
{{ $pct }}%
💳 تسجيل دفعة
@endif