{{ __('My Courses') }}

@forelse(Auth::user()->registrationAttempts()->where('status', 0)->latest()->get() as $registrationAttempt) @php $course = $registrationAttempt->courseEnrollment->course; $courseEnrollment = $registrationAttempt->courseEnrollment; @endphp
{{ $course->name }}
{{ $courseEnrollment->name }}
Awaiting Payment Verification
@empty

@endforelse @forelse(Auth::user()->registrationAttempts()->where('status', 1)->latest()->get() as $registrationAttempt) @php $course = $registrationAttempt->courseEnrollment->course; $courseEnrollment = $registrationAttempt->courseEnrollment; @endphp @empty @if(!Auth::user()->registrationAttempts()->count())

You are not registered in any course


@endif @endforelse