@if($selectedExam) امتحان: {{ $selectedExam->title }} | الدرجة العظمى: {{ $selectedExam->max_score }} @else مادة: {{ $selectedSubject->name }} | نوع: {{ request('type') }} | الدرجة العظمى: {{ $markWeights->firstWhere('type', request('type'))?->max_score ?? 100 }} @php $currentWeight = $markWeights->firstWhere('type', request('type')); @endphp @if($currentWeight) | الوزن: {{ $currentWeight->weight }}% @endif @endif
اختر امتحاناً أو حدد المادة والنوع ثم اضغط "جلب القائمة" للبدء.