@extends('layouts.app') @section('title', $app_setting['name'] . ' | Dashboard') @section('content')
10
Active courses
icon
{{ $enrollment_count }}
Total Course Enrollments
icon
{{ $student_count }}
Total Students
icon
{{ $instructor_count }}
Total Instructors
icon
{{ currency($transaction_amount) }}
Total Transaction Amount
icon
{{ $review_count }}
Total submitted reviews
icon
{{ __('Course & User Statistics') }}

0

{{ __('Course Sele Overview') }}

{{ $total_users_count }}

{{ __('New User Overview') }}

Top Selling Course ( Latest {{ $popular_courses->count() }} )
View All Courses
@foreach ($popular_courses as $course) @endforeach
ID Course Category Views Price Instructor Action
#{{ $course->id }}

{{ $course->title }}

{{ $course->category?->title }} {{ $course->view_count }} ${{ $course->price && $course->regular_price ? $course->price : $course->regular_price }} {{ $course->instructor->user->name }}
Top {{ $topStudents?->count() }} Student
@forelse ($topStudents as $student)
avatar
{{ $student?->name }}
{{ $student?->email }}

Buy Courses : {{ $student?->enrollments_count }}

@empty
avatar
John Doe
5hBzU@example.com

Total Courses : 5

icon icon icon
@endforelse
Top {{ $topInstructors?->count() }} Instructor
@forelse ($topInstructors as $instructor)
avatar
{{ $instructor?->user?->name }}
@php $rating = $instructor?->reviews_avg_rating; $rating = number_format($rating, 1); @endphp @for ($index = 0; $index < 5; $index++) @if ($rating > $index) @else @endif @endfor {{ number_format($instructor?->reviews_avg_rating, 1) }} ({{ $instructor?->reviews_count }})

Total Courses : {{ $instructor?->courses_count }}

@empty
avatar
John Doe
4.5 (125)

Buy Courses : 5

icon icon icon
@endforelse
@endsection @push('scripts') @endpush