@extends('layouts.admin') @section('page_title', 'Admin Dashboard') @section('content')
Performance Overview

Track your platform's growth and revenue.

${{ number_format($stats['total_revenue'], 0) }}

Total Revenue

${{ number_format($stats['period_revenue'], 0) }}

Period Revenue

{{ $stats['orders_count'] }}

Total Orders

{{ $stats['users'] }}

Students
Revenue Overview
Last {{ $startDate->diffInDays($endDate) }} days
Recent Purchases
View All
@forelse($stats['recent_purchases'] as $purchase) @empty @endforelse
Student Item Amount Date
{{ strtoupper(substr($purchase->user->name, 0, 1)) }}
{{ $purchase->user->name }}
{{ $purchase->user->email }}
{{ $purchase->purchaseable ? $purchase->purchaseable->name : 'N/A' }}
{{ class_basename($purchase->purchaseable_type) }}
${{ number_format($purchase->amount, 2) }} {{ $purchase->created_at->format('M d, Y') }}
No recent purchases found.
Security & Audit

You are currently logged in as a super administrator with full access to curriculum management and sales data.

@push('scripts') @endpush @endsection