@php $title = translate('Do you want to move to Trash'); $text = translate('If You trash,Student and Student related all data will be trashed.'); @endphp {{ translate('Manage Student') }}
{{ translate('Refresh') }}
@if ($students->count() > 0)
@foreach ($students as $student) @php $userInfo = $student?->userable ?? null; $userableTranslations = []; $designationTranslations = []; if ($userInfo) { $userableTranslations = parse_translation($userInfo); } $firstName = $userableTranslations['first_name'] ?? $userInfo?->first_name ?? ''; $lastName = $userableTranslations['last_name'] ?? $userInfo?->last_name ?? ''; $profileImg = $userInfo && fileExists('lms/students', $userInfo?->profile_img) == true ? asset("storage/lms/students/{$userInfo?->profile_img}") : asset('lms/assets/images/placeholder/profile.jpg'); @endphp @endforeach
{{ translate('Profile') }} {{ translate('Email') }} {{ translate('Phone') }} {{ translate('Enrolled Course') }} {{ translate('Email Verify') }} {{ translate('Status') }} {{ translate('Action') }}
{{ $student?->email }} {{ $userInfo?->phone }} {{ $student?->enrollments?->count() }} @php if ($userInfo?->id) { $action = route('student.status', $userInfo?->id); } @endphp
@if ($student->trashed()) @php $title = translate('Do you want to Delete.'); $text = translate('If You delete It, Student and Student related all data will be delete Permanently.'); @endphp @else @endif
{{ $students->links('portal::admin.pagination.paginate') }}
@else @endif