@forelse(Auth::user()->registrationAttempts()->where('status', 0)->latest()->get() as $registrationAttempt)
@php
$course = $registrationAttempt->courseEnrollment->course;
$courseEnrollment = $registrationAttempt->courseEnrollment;
@endphp
{!! $$courseEnrollment->courseOutline->description !!}
{{ $courseEnrollment->name }}
Awaiting Payment Verification
Awaiting Payment Verification
@empty
@endforelse
@forelse(Auth::user()->registrationAttempts()->where('status', 1)->latest()->get() as $registrationAttempt)
@php
$course = $registrationAttempt->courseEnrollment->course;
$courseEnrollment = $registrationAttempt->courseEnrollment;
$theCourseOutline = $courseEnrollment->courseOutline;
@endphp
{{ $course->name }} | {{ $courseEnrollment->name }}
@empty
@if(!Auth::user()->registrationAttempts()->count())
You are not registered in any course.
@endif
@endforelse