@extends('admin.layouts.app') @section('title', 'Dashboard') @section('page-title', 'Dashboard') @section('content')
Total Tenants
{{ $stats['total_tenants'] ?? 0 }}
+{{ $stats['tenants_this_month'] ?? 0 }} this month
Active Tenants
{{ $stats['active_tenants'] ?? 0 }}
of {{ $stats['total_tenants'] ?? 0 }}
Total Packages
{{ $stats['total_packages'] ?? 0 }}
{{ $stats['active_packages'] ?? 0 }} active
Monthly Revenue
${{ number_format($stats['revenue_this_month'] ?? 0, 2) }}

Recent Tenants

@if($recentTenants && $recentTenants->count() > 0)
    @foreach($recentTenants as $tenant)
  • {{ $tenant->name }}

    {{ $tenant->email }} • {{ $tenant->created_at->diffForHumans() }}

    {{ ucfirst($tenant->status ?? 'inactive') }}
  • @endforeach
@else

No tenants found

@endif

System Health

Overall Status
{{ $systemHealth['status'] }}
@if(isset($systemHealth['checks'])) @foreach($systemHealth['checks'] as $check => $status)
{{ str_replace('_', ' ', $check) }}
{{ $status['message'] }}
@endforeach @endif

Quick Actions

@endsection