{{ setting('address') }}
{{ ++$key }}. {{ $item->question->question }} | {{ $item->question->mark }} |
@if ($item->question->type == 1)
@for($i = 0; $i < $item->question->total_option; $i++)
{{++$i}}. {{$item->question->questionOptions[--$i]->option}} @endfor @elseif ($item->question->type == 2) @for($i = 0; $i < $item->question->total_option; $i++) {{++$i}}. {{$item->question->questionOptions[--$i]->option}} @endfor @elseif($item->question->type == 3) {{ ___('online-examination.1') }}. {{ ___('online-examination.True') }} {{ ___('online-examination.2') }}. {{ ___('online-examination.False') }} @endif |