@extends('layout.index') @section('title', 'Verification User List') @section('content') Verification Question List @if ($message = Session::get('success')) {{ $message }} × @elseif ($message = Session::get('error')) {{ $message }} × @endif @csrf Search @if ($search_question_name) Clear Search @endif Add Question Assign {{-- Sr. No Question Status Assign country season Actions No Record Found --}} Sr. No Question Status Assign country season Actions @if(!empty($aQuestion)) @foreach ($aQuestion as $i => $val) {{ $i + 1 }} {{ $val->question }} isActive) && $val->isActive ? 'checked' : '' }} onclick="change_status(event.target, {{ $val->id }});" /> @if(!empty($aSelectedQuestion) && !empty($aMasterCountry)) @foreach ($aSelectedQuestion as $selected) @if ($val->id == $selected->questionId && isset($aMasterCountry[$selected->countryId])) @php $key = $aMasterCountry[$selected->countryId] . '-' . $selected->season; @endphp {{ $key }} @if ($selected->season === $currentSeason) @endif @endif @endforeach @endif {{-- @if(!empty($aData)) @foreach ($aData as $index => $item) @if($index==$val->id) @php $key = $item['country'] . '-' . $item['season']; @endphp {{ $key }} @if ($item['season'] === $currentSeason) @endif @endif @endforeach @endif --}} @endforeach @else No Record Found @endif {{ $Paginator }} @endsection