@extends('admin.layouts.app') @push('styles_top') @endpush @section('content')

{{ $webinar->title }} - {{ $pageTitle }}

{{ trans('admin/main.total_students') }}

{{ $totalStudents }}

{{ trans('update.active_students') }}

{{ $totalActiveStudents }}

{{ trans('update.expire_students') }}

{{ $totalExpireStudents }}

{{ trans('update.average_learning') }}

{{ $averageLearning }}
@can('admin_webinar_notification_to_students') {{ trans('notification.send_notification') }} @endcan @can('admin_enrollment_add_student_to_items') @endcan
@foreach($students as $student) @endforeach
ID {{ trans('admin/main.name') }} {{ trans('admin/main.rate') }}(5) {{ trans('update.learning') }} {{ trans('admin/main.user_group') }} {{ trans('panel.purchase_date') }} {{ trans('admin/main.status') }} {{ trans('admin/main.actions') }}
{{ $student->id ?? '-' }}
{{ $student->full_name }}
{{ $student->full_name }}
@if($student->mobile)
{{ $student->mobile }}
@endif @if($student->email)
{{ $student->email }}
@endif
{{ $student->rates ?? '-' }} {{ $student->learning }}% @if(!empty($student->getUserGroup())) {{ $student->getUserGroup()->name }} @else - @endif {{ dateTimeFormat($student->purchase_date, 'j M Y | H:i') }} @if(empty($student->id)) {{-- Gift recipient who has not registered yet --}}
{{ trans('update.unregistered') }}
@elseif(!empty($webinar->access_days) and !$webinar->checkHasExpiredAccessDays($student->purchase_date, $student->gift_id))
{{ trans('panel.expired') }}
@elseif(!$student->access_to_purchased_item)
{{ trans('update.access_blocked') }}
@else
{{ trans('admin/main.active') }}
@endif
@if(!empty($student->id)) {{-- null id => Gift recipient who has not registered yet --}} @can('admin_users_impersonate') @endcan @can('admin_users_edit') @endcan @can('admin_webinar_students_delete') @if(!$student->access_to_purchased_item) @include('admin.includes.delete_button',[ 'url' => getAdminPanelUrl().'/enrollments/'. $student->sale_id .'/enable-access', 'tooltip' => trans('update.enable-student-access'), 'btnIcon' => 'fa-check' ]) @else @include('admin.includes.delete_button',[ 'url' => getAdminPanelUrl().'/enrollments/'. $student->sale_id .'/block-access', 'tooltip' => trans('update.block_access'), ]) @endif @endcan @endif
{{trans('admin/main.hints')}}
{{trans('admin/main.students_hint_title_1')}}
{{trans('admin/main.students_hint_description_1')}}
{{trans('admin/main.students_hint_title_2')}}
{{trans('admin/main.students_hint_description_2')}}
{{trans('admin/main.students_hint_title_3')}}
{{trans('admin/main.students_hint_description_3')}}

{{ trans('update.add_student_to_course') }}

@endsection @push('scripts_bottom') @endpush