|
Student ID:
#{{ $list_item->id }}
|
@if($list_item->profile_picture)

@else
@endif
{{ $list_item->name }}
{{ $list_item->email }}
@if($list_item->phone)
@if($list_item->phone_verified_at)
@else
@endif
{{ $list_item->country_code }} {{ $list_item->phone }}
@endif
|
@if($list_item->enrolledCourses && $list_item->enrolledCourses->count() > 0)
@foreach($list_item->enrolledCourses->take(4) as $course)
{{ $course->title }}
@endforeach
@if($list_item->enrolledCourses->count() > 4)
+{{ $list_item->enrolledCourses->count() - 4 }} more course{{ $list_item->enrolledCourses->count() - 4 > 1 ? 's' : '' }}
@endif
@else
No courses enrolled
@endif
|
@if($list_item->status === 'active')
Active
@elseif($list_item->status === 'pending')
Pending
@else
Blocked
@endif
|
Created by:
{{ $list_item->createdBy ? $list_item->createdBy->name : 'System' }}
{{ $list_item->created_at->format('d-m-Y, g:i A') }}
|
@include('admin.crud.action-dropdown', [
'cloneUrl' => url('admin/students/'.$list_item->id.'/clone'),
'cloneTitle' => 'Clone Student',
'editUrl' => url('admin/students/'.$list_item->id.'/edit'),
'editTitle' => 'Update Student',
'deleteUrl' => route('admin.students.destroy', $list_item->id),
'redirectUrl' => route('admin.students.index')
])
|
@endforeach
@endif