@extends('layouts.app') @section('title', 'Admin Dashboard') @section('page-title', 'Platform Dashboard') @section('content')
{{ $stats['total_hotels'] }}
Total Hotels
{{ $stats['active_hotels'] }}
Active Hotels
{{ $stats['trial_hotels'] }}
On Trial
{{ $stats['suspended_hotels'] }}
Suspended
{{ $stats['bookings_today'] }}
Bookings Today
{{ $stats['expiring_soon'] }}
Expiring in 7 days
Quick Actions
Recently Registered Hotels View All
@forelse($stats['recent_hotels'] as $hotel) @empty @endforelse
HotelStatusRegistered
{{ $hotel->name }}
{{ $hotel->city }}, {{ $hotel->state }}
@if($hotel->status === 'active') Active @elseif($hotel->status === 'trial') Trial @elseif($hotel->status === 'suspended') Suspended @else Pending @endif {{ $hotel->created_at->format('d M Y') }}
No hotels yet
Recent Platform Activity View All
@forelse($stats['recent_audit'] as $log) @empty @endforelse
UserActionTime
{{ $log->user_name }}
{{ $log->module }}
{{ $log->action }} {{ $log->created_at->diffForHumans() }}
No activity yet
@endsection