@extends('admin-layouts.master') @section('title', 'Booking Details') @section('content')
Booking ID: #{{ $booking->id }}
{{ $booking->guest->name ?? 'N/A' }}
{{ $booking->guest->phone ?? 'N/A' }}
{{ $booking->guest->email ?? 'N/A' }}
{{ $booking->guest->identity_number ?? 'N/A' }}
{{ $booking->guest_count }} person(s)
{{ $booking->duration_display ?? 'N/A' }}
@if($booking->booking_type === 'hourly') {{ $booking->check_in_date_time_formatted ?? $booking->check_in_date_formatted ?? 'N/A' }} @else {{ $booking->check_in_date_formatted ?? 'N/A' }} @endif
@if($booking->booking_type === 'hourly') {{ \Carbon\Carbon::parse($booking->check_in_date)->addHours($booking->duration_hours ?? 1)->format('d/m/Y H:i') }} @else {{ $booking->check_out_date_formatted ?? 'N/A' }} @endif
Time: {{ $booking->checkIn->check_in_time_formatted ?? 'N/A' }}
@if($booking->checkIn->notes)Notes: {{ $booking->checkIn->notes }}
@endifTime: {{ $booking->checkOut->check_out_time_formatted ?? 'N/A' }}
@if($booking->checkOut->notes)Notes: {{ $booking->checkOut->notes }}
@endif