{{-- Layout --}} @extends('teacher.layout.layout') {{-- Page Title --}} @section('title','GAS LMS | Assign Students to HomeWork') {{-- Breadcrumb section --}} @section('breadcrumb') @include('components._breadcrumb', ['items' => ['HomeWork' => route('teacher.course.assignment.index',$coffid)]]) @endsection {{-- Content --}} @section('content') @include('components._error')
Assigned Students There are {{$enrolled_students}} students enrolled in this course There are {{count($assignment_students->where('is_allowed',1))}} students assigned to this HomeWork
@method('PUT') @csrf @php $count=0; @endphp @foreach ($assignment_students as $student) @endforeach
name enrollment method start_date end_date abscents count actions
@if (!$student->is_allowed)
@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-attempts={{$student->attempts_remainder}} data-allow-submit-after-end-time={{$student->allow_submit_after_end_time}} > @if ($student->is_allowed) @endif
{{-- edit start and end date modal --}} @endsection @section('js') {{-- delete student --}} {{-- Submit forms --}} {{-- show modals --}} @if(request()->status) @endif {{-- edit assignment date --}} {{-- confirm alert --}} {{-- on check checkboxes --}} @endsection