@extends('layouts.app') @section('title', 'Find Your Booking | Kevron Suites') @section('content')
Reservation Finder

Locate Your Booking

Enter your reservation reference code and email to fetch your check-in credentials.

@if(isset($booking))
@php $statusColors = [ 'confirmed' => 'bg-emerald-100 dark:bg-emerald-950 text-emerald-600 dark:text-emerald-400', 'pending' => 'bg-amber-100 dark:bg-amber-950 text-amber-600 dark:text-amber-400', 'cancelled' => 'bg-red-100 dark:bg-red-950 text-red-600 dark:text-red-400', ]; $statusColor = $statusColors[strtolower($booking->status)] ?? 'bg-blue-100 dark:bg-blue-950 text-blue-600 dark:text-blue-400'; @endphp {{ ucfirst($booking->status) }} Reservation

{{ $booking->booking_reference }}

Guest Name {{ $booking->guest->first_name }} {{ $booking->guest->last_name }}
Suite Type {{ $booking->apartmentType->name }}
Stay Duration {{ optional($booking->check_in_date)->format('M d, Y') }} to {{ optional($booking->check_out_date)->format('M d, Y') }}
Total Invoice ₦{{ number_format($booking->total_price) }}
Payment Status {{ ucfirst($booking->payment_status) }}
@if(strtolower($booking->payment_status) === 'paid' || strtolower($booking->status) === 'confirmed')
Smart Lock Keycode {{ $booking->unit->keyless_keycode ?? '7829#' }}
@endif
@else
@csrf @if($errors->has('error'))
{{ $errors->first('error') }}
@endif @if(session('success'))
{{ session('success') }}
@endif
@endif
@endsection