@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $optionLabels = ['a' => 'A', 'b' => 'B', 'c' => 'C', 'd' => 'D']; @endphp
@if($selectedSchoolClassId && $questions->isNotEmpty()) @php $paperParams = ['schoolClass' => $selectedSchoolClassId, 'seed' => $paperSeed]; @endphp View Question Paper View Answer Key @endif
All @foreach($schoolClasses as $schoolClass) {{ $schoolClass->name }} @endforeach
@forelse($questions as $question) @empty @endforelse
SL Class Question Correct Option Marks Status
{{ $loop->iteration }} {{ $question->schoolClass?->name ?? '—' }} {{ \Illuminate\Support\Str::limit($question->question_text, 80) }} {{ $optionLabels[$question->correct_option] }}. {{ $question->optionText($question->correct_option) }} {{ $question->marks }} {{ $question->is_active ? 'Active' : 'Inactive' }}
No questions yet. Add your first one.
@csrf