@extends('super.layouts.master') @section('title', 'Dashboard') @section('pagetitle', 'Superadmin Dashboard') @section('content') @include('layouts.partials.breadcrumbs', ['breadcrumbs' => [ ['url' => route('mentor.dashboard'), 'title' => __('Home')], ['url' => route('mentor.mentees'), 'title' => __('Mentees')] ]])
@include('layouts.partials.messages') @include('auth.partials.error')

Dashboard

Active School{{ $activeSchoolCnt > 1 ? "s" :"" }}

{{ number_format($activeSchoolCnt, 0, '.', ',') }}

home

Active Mentor{{ $activeMentorCnt > 1 ? "s" :"" }}

{{ number_format($activeMentorCnt, 0, '.', ',') }}

supervisor_account

Active Student{{ $activeStudentCnt > 1 ? "s" :"" }}

{{ number_format($activeStudentCnt, 0, '.', ',') }}

account_circle

Recent Schools

@if(count($recent_schools) > 0) @foreach($recent_schools as $school) @endforeach @else @endif
School name Email Date added
{{ !empty(data_get($school, 'name')) ? data_get($school, 'name') : "-" }} {{ !empty(data_get($school, 'contact_email')) ? data_get($school, 'contact_email') : "-" }} {{ !empty(show_date($school->created_at)) ? show_date($school->created_at, true) : "-" }}
No schools in database yet
View all schools

Recent Students

@if(count($recent_students) > 0) @foreach($recent_students as $student) @endforeach @else @endif
Full name School
{{ !empty($student->getFullname()) ? $student->getFullname() : "-" }} {{ !empty($student->school) ? $student->school->name : "-" }}
No recent students to show
View all students

Recent Mentors

@if(count($recent_mentors) > 0) @foreach($recent_mentors as $mentor) @endforeach @else @endif
Full name Email
{{ !empty($mentor->getFullname()) ? $mentor->getFullname() : "-" }} {{ !empty($mentor->email) ? $mentor->email : "-" }}
No recent mentors to show
View all mentors
close
Close

Add New School

@include('layouts.partials.messages')
@csrf
@endsection