@extends('admin.layouts.master') @section('page_title', 'Admin Dashboard') @section('content')
| 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. | |||||