Super Admin Dashboard Welcome back, {{ Auth::user()->first_name ?? 'Admin' }}
{{ 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| Hotel | Package | Status | Added |
|---|---|---|---|
|
@if($hotel->logo)
{{ substr($hotel->name, 0, 2) }}
@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)
@endif
@endforeach
@else
{{ $hotel->name }}
{{ $hotel->email }}
{{ $subscription->days_remaining ?? 0 }} days
{{ $subscription->end_date ? $subscription->end_date->format('d M Y') : 'N/A' }}
No expiring subscriptions in the next 7 days