uploads/courses/{{$course->image }}">
Duration {{ $course->duration }} {{ $course->period }}
Cost {{ money($course->price) }}
Practical {{ $course->practical_classes }} Classes
Theory {{ $course->theory_classes }} Classes
Students {{ $total }}
@if (!empty($courseinstructors)) @foreach ($courseinstructors as $instructor)
@if( !empty($instructor->avatar) ) @else @endif
@endforeach @else

No Instructors

@endif
Students
@if(!empty($enrolledstudents)) @foreach($enrolledstudents as $index => $student) @if ( !empty($student->completed_on) ) @else @endif @endforeach @else @endif
# Name Classes Started Completed Progress Schedule
{{ $index + 1 }} {{ $student->fname}} {{ $student->lname}} {{ $student->total_theory + $student->total_practical }} {{ date('d M Y', strtotime($student->created_at)) }}{{ date('d M Y', strtotime($student->completed_on)) }}Ongoing{{ round((($student->completed_theory + $student->completed_practical) / ($student->total_theory + $student->total_practical)) * 100) }}% Schedule
It's empty here.

Missed Practical Theory Complete

{{$course->name}} Schedule