@extends('layouts.admin') @section('title', 'Dashboard') @section('content')

Admin Dashboard

Monitor system performance and manage your platform

Export Report

Total Tenants

{{ $stats['total_tenants'] ?? 0 }}

+12% vs last month

Active Tenants

{{ $stats['active_tenants'] ?? 0 }}

+8% vs last month

Total Plans

{{ $stats['total_plans'] ?? 0 }}

0% vs last month

Monthly Revenue

${{ number_format($stats['monthly_revenue'] ?? 0, 2) }}

+24% vs last month

Recent Tenants

View all
@if(isset($recent_tenants) && count($recent_tenants) > 0)
@foreach($recent_tenants as $tenant)
{{ substr($tenant->name, 0, 1) }}

{{ $tenant->name }}

{{ $tenant->domain }}

{{ ucfirst($tenant->status) }} {{ $tenant->created_at->diffForHumans() }}
@endforeach
@else

No tenants found

Get started by creating your first tenant.

Create Tenant
@endif

Recent Activity

New tenant Acme Corp was created

2 hours ago

Payment received from Tech Solutions

4 hours ago

New plan Enterprise was activated

6 hours ago

@endsection