@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
@if(count($recent_schools) > 0)
School name |
Email |
Date added |
@foreach($recent_schools as $school)
{{ !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) : "-" }} |
|
@endforeach
@else
No schools in database yet |
@endif
View all schools
Recent Students
@if(count($recent_students) > 0)
Full name |
School |
@foreach($recent_students as $student)
{{ !empty($student->getFullname()) ? $student->getFullname() : "-" }} |
{{ !empty($student->school) ? $student->school->name : "-" }} |
@endforeach
@else
No recent students to show |
@endif
View all students
Recent Mentors
@if(count($recent_mentors) > 0)
Full name |
Email |
@foreach($recent_mentors as $mentor)
{{ !empty($mentor->getFullname()) ? $mentor->getFullname() : "-" }} |
{{ !empty($mentor->email) ? $mentor->email : "-" }} |
@endforeach
@else
No recent mentors to show |
@endif
View all mentors