العلامات

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

@forelse($tests as $test) @empty @endforelse @if($tests->count() > 0) @endif
# المادة الصف الفصل السنة علامة المذاكرة علامة الامتحان درجة الأعمال
{{ $loop->iteration }} {{$test->exam->course->name}} {{$test->exam->sclass->name}} {{$test->exam->semester->name}} {{$test->exam->year->name}} {{$test->exam->examtype_id == 1 ? $test->total_points : ''}} @php if($test->exam->examtype_id == 1){ $testSum += $test->total_points; } @endphp {{$test->exam->examtype_id == 2 ? $test->total_points : ''}} @php if($test->exam->examtype_id == 2){ $finalSum += $test->total_point; } @endphp @php $degree = App\Models\Degree::where('user_id',$user->id)->where('course_id',$test->exam->course->id)->first(); if ($degree) { $sumDegree += $degree->mark; } @endphp @if ($degree) {{$degree->mark}} @endif
لا يوجد اختبارات
المجموع {{$testSum}} {{$finalSum}} {{ $sumDegree}}