@foreach ($questions as $question) @endforeach
@foreach ($questions as $question)
{{ ($question[0]->department_id-5) }} of {{ $loop->count }} Completed

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

@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
@if ($errors->has('description.'.$q->id)) {{ $errors->first('description.'.$q->id) }} @endif
Max 5MB file is required @if ($errors->has('picture.'.$q->id)) {{ $errors->first('picture.'.$q->id) }} @endif
@if ( $hidden_picture && array_key_exists($q->id, $hidden_picture) ) @endif
व्हिडिओ टाईमिंग हा १० मिनिट पर्यंत असावा @if ($errors->has('video.'.$q->id)) {{ $errors->first('video.'.$q->id) }} @endif
@if ( $hidden_video && array_key_exists($q->id, $hidden_video) && $hidden_video[$q->id]) View Video @endif
@endforeach
@endforeach