{{ $courseEnrollment->course->name }} > {{ $courseEnrollment->name }} Assignments

@php $courseOutlines = $courseEnrollment->course->courseOutlines()->orderBy('rank', 'ASC')->get(); $counter = 1; @endphp @forelse($courseOutlines as $courseOutline) @empty @endforelse
ID Topic Assignments
{{ $counter++ }} {{ $courseOutline->description }} @php $assignments = $courseOutline->assignments()->where('course_enrollment_id', $courseEnrollment->id)->orderBy('rank', 'ASC')->get(); @endphp @forelse($assignments as $assignment)
{{ $assignment->name }} ( {{ $assignment->assignmentType->name }})
@empty No assignments @endforelse
No lessons found