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

{{ trans('admin/main.students') }} {{ trans('admin/main.list') }}

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

{{ $totalStudents }}

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

{{ $totalOrganizationsStudents }}

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

{{ $inactiveStudents }}

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

{{ $banStudents }}
@can('admin_users_export_excel') {{ trans('admin/main.export_xls') }} @endcan
@foreach($users as $user) @endforeach
ID {{ trans('admin/main.name') }} {{ trans('admin/main.classes') }} {{ trans('admin/main.appointments') }} {{ trans('admin/main.wallet_charge') }} {{ trans('admin/main.income') }} {{ trans('admin/main.user_group') }} {{ trans('admin/main.register_date') }} {{ trans('admin/main.status') }} {{ trans('admin/main.actions') }}
{{ $user->id }}
{{ $user->full_name }}
{{ $user->full_name }}
@if($user->mobile)
{{ $user->mobile }}
@endif @if($user->email)
{{ $user->email }}
@endif
{{ $user->classesPurchasedsCount }}
{{ handlePrice($user->classesPurchasedsSum) }}
{{ $user->meetingsPurchasedsCount }}
{{ handlePrice($user->meetingsPurchasedsSum) }}
{{ handlePrice($user->getAccountingBalance()) }} {{ handlePrice($user->getIncome()) }} {{ !empty($user->userGroup) ? $user->userGroup->group->name : '' }} {{ dateTimeFormat($user->created_at, 'j M Y | H:i') }} @if($user->ban and !empty($user->ban_end_at) and $user->ban_end_at > time())
{{ trans('admin/main.ban') }}
Until {{ dateTimeFormat($user->ban_end_at, 'Y/m/j') }}
@else
{{ trans('admin/main.'.$user->status) }}
@endif
@can('admin_users_impersonate') @endcan @can('admin_users_edit') @endcan @can('admin_users_delete') @include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/users/'.$user->id.'/delete' , 'btnClass' => '', 'deleteConfirmMsg' => trans('update.user_delete_confirm_msg')]) @endcan
{{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')}}
@endsection