Admin Dashboard

Manage your rental platform

@if(session()->has('success'))

{{ session('success') }}

@endif
Total Users
{{ $stats['total_users'] ?? 0 }}
{{ $stats['total_hosts'] ?? 0 }} hosts registered
Total Listings
{{ $stats['total_listings'] ?? 0 }}
Active rentals available
Total Bookings
{{ $stats['total_bookings'] ?? 0 }}
{{ $stats['confirmed_bookings'] ?? 0 }} confirmed
Total Revenue
RM {{ number_format($stats['total_revenue'] ?? 0, 2) }}
From confirmed & completed

Recent Bookings

@forelse($recent_bookings as $booking) @empty @endforelse
Booking ID User Listing Check In Status Total Actions
#{{ $booking->id }} {{ $booking->user->name }} {{ $booking->listing->title }} {{ $booking->check_in->format('M d, Y') }} {{ ucfirst($booking->status) }} RM {{ number_format($booking->total_price, 2) }}
@if($booking->status === 'pending') @endif @if(in_array($booking->status, ['pending', 'confirmed'])) @endif @if(!in_array($booking->status, ['pending', 'confirmed'])) No actions available @endif

No bookings yet