@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
Total Hotels
{{ number_format($stats['total_hotels'] ?? 0) }}
Active Hotels
{{ number_format($stats['active_hotels'] ?? 0) }}
Trial Hotels
{{ number_format($stats['trial_hotels'] ?? 0) }}
Monthly Revenue
{{ number_format($stats['total_revenue'] ?? 0) }}
UGX
Suspended
{{ number_format($stats['suspended_hotels'] ?? 0) }}
Cancelled
{{ number_format($stats['cancelled_hotels'] ?? 0) }}
Total Users
{{ number_format($stats['total_users'] ?? 0) }}
System Admins
{{ number_format($stats['total_admins'] ?? 0) }}
Revenue Overview (Last 6 Months)
UGX
Package Distribution
@forelse($packageDistribution ?? [] as $package)
{{ ucfirst($package->package) }} {{ number_format($package->total) }}
@empty
No package data available
@endforelse
Recently Added Hotels
View All
@forelse($recentHotels ?? [] as $hotel) @empty @endforelse
Hotel Package Status Added
@if($hotel->logo) @else @endif
{{ $hotel->name }}
{{ $hotel->city ?? 'N/A' }}
{{ ucfirst($hotel->package ?? 'silver') }} {{ ucfirst($hotel->status ?? 'active') }} {{ $hotel->created_at ? $hotel->created_at->diffForHumans() : 'N/A' }}

No hotels found

Expiring Subscriptions (Next 7 Days)
@if(($expiringSubscriptions ?? collect())->count() > 0)
@foreach($expiringSubscriptions as $subscription) @php $hotel = $subscription->hotel; @endphp @if($hotel)
{{ $hotel->name }}
{{ $hotel->email }}
{{ $subscription->days_remaining ?? 0 }} days
{{ $subscription->end_date ? $subscription->end_date->format('d M Y') : 'N/A' }}
@endif @endforeach
@else


No expiring subscriptions in the next 7 days

@endif