@extends('layouts.app') @section('title', 'Admin Dashboard') @section('page-title', 'Admin Dashboard') @section('content')
{{ $stats['total_users'] }}
Total Users
{{ $stats['total_exams'] }}
Total Exams
{{ $stats['total_attempts'] }}
Completed Attempts
${{ number_format($stats['total_revenue'], 0) }}
Total Revenue
{{-- Recent orders --}}
Recent Payments
View All
@foreach($stats['recent_orders'] as $order) @endforeach
TesterAmountStatusDate
{{ $order->tester->name }}
{{ $order->student_count }} credits
${{ number_format($order->total_amount,2) }} {{ ucfirst($order->status) }} {{ $order->created_at->format('M j') }}
{{-- Recent exams --}}
Recent Exams
View All
@foreach($stats['recent_exams'] as $exam) @endforeach
ExamTesterStatus
{{ Str::limit($exam->title, 28) }}
{{ $exam->duration_minutes }} min
{{ $exam->tester->name }} {{ ucfirst($exam->status) }}
@endsection