{{-- Layout --}} @extends('teacher.layout.layout') {{-- Page Title --}} @section('title','GAS LMS | Create Grade Item') {{-- Breadcrumb section --}} @section('breadcrumb') @include('components._breadcrumb', ['items' => ['Quizzes' => route('teacher.course.quiz.index',$coffid)]]) @endsection {{-- Content --}} @section('content') @include('components._error')
Enrolled Students There are {{$enrolled_students->count()}} students enrolled in this course There are {{count($quiz_students)}} students assigned to this quiz
@php $count=0; @endphp @foreach ($quiz_students as $student) @endforeach
name enrollment method start_date end_date abscents count
{{-- @if (collect($existing_students)->contains($student->id)) --}} {{-- @else
@endif --}}
{{ $student->first_name }} {{ $student->middle_name }} {{ $student->last_name }} {{$student->fees_by_lesson ? 'By Lesson':'By Course'}} {{ Carbon\Carbon::parse($student->start_date)->format('F') }} {{ Carbon\Carbon::parse($student->start_date)->format('d, Y') }} / ({{date('h:i A', strtotime($student->start_time))}}) {{ Carbon\Carbon::parse($student->end_date)->format('F') }} {{ Carbon\Carbon::parse($student->end_date)->format('d, Y') }} / ({{date('h:i A', strtotime($student->end_time))}})

{{$student->attendance_count}}

@if ($student->attendance_count < 2) Active @else In-Active @endif
id}} data-start-date={{$student->start_date}} data-start-time={{$student->start_time}} data-end-date={{$student->end_date}} data-end-time={{$student->end_time}} data-allow-submit-after-end-time={{$student->allow_submit_after_end_time}} >
{{-- edit start and end date modal --}} {{-- students list modal --}} @endsection @section('js') {{-- delete student --}} {{-- Submit forms --}} {{-- show modals --}} @if(request()->status) @endif @endsection