@extends('admin.layouts.master') @section('page_title', 'Admin Dashboard') @section('content')
{{ sprintf('%02d', $totalRooms) }}
Total Rooms Pool
{{ sprintf('%02d', $totalBookings) }}
Gross Bookings Logs
₹{{ number_format($totalRevenue, 2) }}
Total Net Revenue
{{ sprintf('%02d', $totalVendors) }} @if($pendingVendors > 0) {{ $pendingVendors }} New @endif
Registered Hotel Owners

Live Reservation Streams Real-time incoming recent booking updates

@forelse($recentBookings as $booking) @empty @endforelse
Invoice ID Customer Details Hotel Scope Duration Window Gross Price Live Status
#{{ $booking->booking_number ?? $booking->id }}
{{ $booking->user->full_name ?? 'Walk-in Guest' }} {{ $booking->user->email ?? '' }}
{{ $booking->hotel->hotel_name ?? 'N/A' }} {{ $booking->room->room_type ?? '' }}
{{ \Carbon\Carbon::parse($booking->check_in_date)->format('d M') }} - {{ \Carbon\Carbon::parse($booking->check_out_date)->format('d M, Y') }} ₹{{ number_format($booking->total_price, 2) }} @php $statusClass = 'warning'; $statusLabel = ucfirst($booking->status); switch (strtolower($booking->status)) { case 'confirmed': $statusClass = 'success'; break; case 'pending': $statusClass = 'warning'; break; case 'checked_in': $statusClass = 'primary'; $statusLabel = 'Checked In'; break; case 'checked_out': $statusClass = 'info'; $statusLabel = 'Checked Out'; break; case 'rejected': case 'cancelled': $statusClass = 'danger'; break; } @endphp {{ $statusLabel }}
No recent booking activities recorded in the grid stream.
@endsection