@extends('layouts.admin') @section('title', 'Booking Management') @section('content')
Manage all bookings from visitors and manual entries
| Customer | Room | Contact | Check In | Check Out | Booking Date | Source | Actions |
|---|---|---|---|---|---|---|---|
|
{{ $booking->full_name }}
{{ $booking->location }}
|
{{ $booking->room->name }}
@if($booking->room->room_number)
(Room #{{ $booking->room->room_number }})
@endif
${{ number_format($booking->room->price, 2) }}/night
|
{{ $booking->email }}
{{ $booking->phone }}
|
{{ $booking->check_in ? $booking->check_in->format('M d, Y') : '-' }}
|
{{ $booking->check_out ? $booking->check_out->format('M d, Y') : '-' }}
|
{{ $booking->booking_date ? $booking->booking_date->format('M d, Y') : '-' }}
@if($booking->status === 'confirmed')
Confirmed (Paid)
@elseif($booking->status === 'confirmed_no_payment')
Confirmed (Unpaid)
@elseif($booking->status === 'pending')
Pending
@else
Cancelled
@endif
|
{{ $booking->booking_source ?? 'Website' }} |
@if($booking->status !== 'confirmed')
@endif
|
| No bookings found. Create one now | |||||||