الجمهورية اليمنيةوزارة التربية والتعليممكتب التربية بمحافظة: ............ |
شعار الوزارة
|
العام الدراسي: {{ date('Y') }} / {{ date('Y') + 1 }} التاريخ: {{ $date }} |
| م | اسم الطالب | @php $allSubjects = $students->flatMap->marks->pluck('subject.name')->unique(); @endphp @foreach($allSubjects as $subjectName){{ $subjectName }} | @endforeachالمجموع | النتيجة |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ $student->full_name }} | @php $total = 0; @endphp @foreach($allSubjects as $subjectName) @php $mark = $student->marks->where('subject.name', $subjectName)->first(); $score = $mark ? $mark->score : 0; $total += $score; @endphp{{ $score }} | @endforeach{{ $total }} | @php $avg = $total / max(1, $allSubjects->count()); @endphp {{ $avg >= 50 ? 'ناجح' : 'راسب' }} |
مربّي الفصل
............................
الكنترول المدرسي
............................
يعتمد مدير المدرسة
............................