@extends(getTemplate() .'.panel.layouts.panel_layout') @push('styles_top') @endpush @section('content')

{{ trans('quiz.students') }}

{{ $users->count() }} {{ trans('quiz.students') }}
{{ $activeCount }} {{ trans('public.active') }}
{{ $inActiveCount }} {{ trans('public.inactive') }}

{{ trans('panel.filter_students') }}

@include('web.default.panel.manage.filters')

{{ trans('panel.students_list') }}

@if(!empty($users) and !$users->isEmpty())
@foreach($users as $user) @endforeach
{{ trans('auth.name') }} {{ trans('auth.email') }} {{ trans('public.phone') }} {{ trans('webinars.webinars') }} {{ trans('quiz.quizzes') }} {{ trans('panel.certificates') }} {{ trans('public.date') }}
{{ $user->full_name }} {{ ($user->status == 'active') ? trans('public.active') : trans('public.inactive') }}
{{ $user->email }} id : {{ $user->id }}
{{ $user->mobile }} {{ count($user->getPurchasedCoursesIds()) }} {{ count($user->getActiveQuizzesResults()) }} {{ count($user->certificates) }} {{ dateTimeFormat($user->created_at,'j M Y | H:i') }}
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'studentt.png', 'title' => trans('panel.students_no_result'), 'hint' => nl2br(trans('panel.students_no_result_hint')), 'btn' => ['url' => '/panel/manage/students/new','text' => trans('panel.add_an_student')] ]) @endif
{{ $users->appends(request()->input())->links('vendor.pagination.panel') }}
@endsection @push('scripts_bottom') @endpush