@extends('layouts.instructor') @section('breadcrumb')

{{__('All Students')}}

@endsection @section('content')
{{__('All Students')}}
@if(count($enrollments) > 0)
@foreach($enrollments as $enrollment) @if(isset($enrollment->user)) @endif @endforeach
{{__('Image')}} {{__('Name')}} {{__('Email')}} {{__('Student ID')}} {{__('Course Name')}} {{__('Join Date')}} {{__('Action')}}
@if(@$enrollment->user->image_path !== null)
img
@else
@endif
{{ @$enrollment->user->name }} {{ @$enrollment->user->email }} {{ @$enrollment->user->referral_code }} {{ @$enrollment->course->title }} {{ $enrollment->start_date }}
@if(isset($enrollment->completed_time))
@else
@csrf
@endif
@if(@$enrollments->hasPages()) {{ @$enrollments->links('frontend.paginate.paginate') }} @endif @else
img
{{__('Empty Student')}}
@endif
@endsection @section('modal') @foreach($enrollments as $enrollment) @if(isset($enrollment->user)) @endif @endforeach @endsection @push('script') @endpush