@php
$no = 1;
@endphp
@foreach ($detail_peserta_ujian as $item_detail)
@foreach ($soal->where('id_ujian', $item_detail->id_ujian) as $item)
Soal No. {{ $no }}
@if ($item->file != null)
@endif
{!! $item->soal !!}
Jawaban :
@if ($item->bentuk == \App\Models\Soal::KL)
@else
@php
$jawaban = \App\Models\Jawaban::where('id_soal', $item->id)->get();
$abjad = range('A','Z');
$nos = 0;
@endphp
@foreach ($jawaban as $items)
@if ($items->jawaban != null)
@endif
@if ($items->gambar != null)
@endif
@php
$nos++
@endphp
@endforeach
@endif
@php
$no++;
@endphp
@endforeach
@endforeach