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

{{ trans('public.instructors') }}

{{ $users->count() }} {{ trans('public.instructors') }}
{{ $activeCount }} {{ trans('public.active') }}
{{ $verifiedCount }} {{ trans('public.verified') }}

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

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

{{ trans('panel.instructors_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('panel.sales') }} {{ trans('panel.sales_amount') }} {{ trans('public.date') }}
{{ $user->full_name }} {{ trans('public.'.($user->verified ? 'verified' : 'not_verified')) }}
{{ $user->email }} id : {{ $user->id }}
{{ $user->mobile }} {{ $user->webinars->count() }} {{ $user->salesCount() }} {{ handlePrice($user->sales()) }} {{ dateTimeFormat($user->created_at,'j M Y | H:i') }}
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'teachers.png', 'title' => trans('panel.instructors_no_result'), 'hint' => nl2br(trans('panel.instructors_no_result_hint')), 'btn' => ['url' => '/panel/manage/instructors/new','text' => trans('panel.add_an_instructor')] ]) @endif
{{ $users->appends(request()->input())->links('vendor.pagination.panel') }}
@endsection @push('scripts_bottom') @endpush