@extends('../layout/' . $layout) @section('subhead') Atarud MIS - Assign Students To Exit Exam @endsection @section('subcontent')

Assign Students To Exit Exam

{{--
@csrf @method('post') --}} {{-- @php $x = 0; @endphp {{-- @foreach($students as $row) @php $x++; $student = App\Models\Student::where('id', $row->student_id)->first(); $studentName = $student != null ? $student->name : ''; $studentExam = App\Models\StudentExamGroup::where('exam_id', $exam->id) ->where('student_id', $row->student_id) ->where('status', '!=', 'Pending') ->first(); @endphp @endforeach {{--
# Name Father Name Action
{{ ++$loop->index }} {{ $student != null ? $student->name : '' }} {{ $student != null ? $student->father_name : '' }} @if($studentExam == null) Assign Student @else {{ 'Completed Exam' }} @endif
--}} {{--
--}}
@endsection @section('script') {{-- --}} @endsection