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

Assign Marks To Students

{{--
--}}
@if(isset($assignedStudents)) {{--

Exam: {{$exam->title}} --- Course: {{$course->title}} --- Exam Time: {{$exam->exam_time}} --- Total Marks: {{$exam->total_marks}} --- Passing Marks: {{$exam->passing_marks}}

--}}
@csrf @method('post')
@php $c= 1; @endphp @foreach($assignedStudents as $row) @php $student = App\Models\Student::where('id',$row->student_id) ->first(); @endphp @php $c++;@endphp @endforeach
# Name Father Name Mark
{{++$loop->index}} {{$student->name}} {{$student->father_name}}
@if($row->status == 'Process') @elseif($row->status == 'Completed') {{$row->score}} @else @endif
@endif
@endsection @section('script') @endsection