{{-- @if (Session::has('success')) --}} {{-- @endif @if (Session::has('fail'))
{{Session::get('fail')}}
@endif --}}

Dashboard

@if (session('userid')->is_active == 0)
Your account is inactive. Please log out and log in again to check the status. If the issue persists, please contact the admin. To chat with admin Click here
@endif

Student Enrolled

{{$studentscount ?? "0"}}

Pending Classes

{{$totalUpcomingClasses}}

Pending Trial Classes

{{$pending_demos ?? '0'}}

Total Earnings

£{{$moneyEarned ?? "0"}}

Scheduled Classes
View All
{{-- --}} @foreach ($upcomingClasses as $class) {{-- @else --}} {{-- Not Started --}} {{-- @endif --}} {{-- --}} {{-- --}} @endforeach
Subject Student Date Time StatusAction
{{$class->subject}} {{$class->studentname}} {{ \Carbon\Carbon::parse($class->slotdate)->format('d/m/Y') }} {{ \Carbon\Carbon::parse($class->slottime)->format('h:i A') }} {{-- @if ($class->is_completed == 1) --}} {{$class->status}} @if ($class->status == 'Started') Join Class @else Start Class @endif End Class
Trial Classes
View All
{{-- --}} @foreach ($upcoming_demos as $demo) {{-- --}} @endforeach {{-- --}}
Student Subject slot StatusAction
{{$demo->student}}
{{$demo->subject}} {{ $demo->slot_confirmed ? $demo->slot_confirmed->format('d/m/Y h:i:s A') : $demo->slot_1->format('d/m/Y h:i:s A') }} @if ($demo->status == 1) New @elseif ($demo->status == 2) Scheduled @elseif ($demo->status == 3) Confirmed @elseif ($demo->status == 4) Attended @elseif ($demo->status == 5) Cancelled @else Started @endif Launch Trial Class
Deepesh
Maths Today
10:00am
Conffirmed 9 Hours Left
Deepesh
Maths Today
10:00am
Pending
Accept Reject
Deepesh
Maths Today
10:00am
Pending
Accept Reject
@endsection