@foreach($courses as $course) @endforeach @if(count($courses) == 0) @endif
Tên khóa học Loại Số lần làm Thao tác
{{ $course->moodle_name }}
{{ $course->moodle_type }} @php $attemptCount = 0; if (isset($tenantConnection) && $tenantConnection && isset($isUserAllowedForTenant) && $isUserAllowedForTenant) { $attemptCount = getCountCourseAttempt($course->id, $user->id, $tenantConnection, $isUserAllowedForTenant); } else { $attemptCount = getCountCourseAttempt($course->id, $user->id); } @endphp {{ $attemptCount }}
Không có khóa học nào
@if($courses->hasPages())
Hiển thị {{ $courses->firstItem() ?? 0 }} đến {{ $courses->lastItem() ?? 0 }} của {{ $courses->total() ?? 0 }} khóa học
@if($courses->onFirstPage()) @else @endif @foreach($courses->getUrlRange(1, $courses->lastPage()) as $page => $url) @if($page == $courses->currentPage()) {{ $page }} @else {{ $page }} @endif @endforeach @if($courses->hasMorePages()) @else @endif
@endif