Loading...
{{-- @if ($authUser->category_id != 2) --}} {{-- @endif --}} @foreach ($questions as $question) @endforeach
@foreach ($questions as $question)
{{ $loop->iteration }} of {{ $loop->count }} Completed

{{ $question[0]->category?->name }} - {{ $question[0]->department?->name }}

@php $questionGroup = $question->groupBy('group_id'); @endphp @foreach ($questionGroup as $question)
@foreach ($question as $key => $q)

Q-{{ $key+1 }})   {{ $q->name }}

@if ($q->note) {{$q->note}} @endif @if ($q->link) @if ($q->link_type == 1) {{-- --}} @else @endif @endif
@foreach ($q->options as $option)
@endforeach
@if ($errors->has('qst_option.'.$q->id)) {{ $errors->first('qst_option.'.$q->id) }} @endif
Max 5MB file is required (Optional) @if ($errors->has('qst_file_1.'.$q->id)) {{ $errors->first('qst_file_1.'.$q->id) }} @endif
@if ( $hidden_qst_file_1 && array_key_exists($q->id, $hidden_qst_file_1) ) @endif
Max 5MB file is required (Optional) @if ($errors->has('qst_file_2.'.$q->id)) {{ $errors->first('qst_file_2.'.$q->id) }} @endif
@if ( $hidden_qst_file_2 && array_key_exists($q->id, $hidden_qst_file_2) ) @endif
@if ($errors->has('qst_desc.'.$q->id)) {{ $errors->first('qst_desc.'.$q->id) }} @endif
Marks : {{ $selected_marks && array_key_exists($q->id, $selected_marks) ? $selected_marks[$q->id] : '0' }}
@if(!$loop->last)

किंवा

@endif @endforeach
@endforeach
@endforeach {{-- @if ($authUser->category_id != 2) --}}
@livewire('paryavaran-dut-form')
{{-- @endif --}}
{{-- SWEETALERT EVENT FOR DELETE --}} @push('scripts') @endpush