@extends('layouts.admin')
@section('title', 'Detail Booking')
@section('content')
Detail Booking
Verifikasi data pengunjung dan ambil keputusan
Kembali
@php
$statusBadge = match($booking->status) {
'confirmed' => 'success',
'rejected' => 'danger',
default => 'warning',
};
@endphp
Kode Booking
{{ $booking->booking_code }}
Status
{{ ucfirst($booking->status) }}
Nama Pengunjung
{{ $booking->visitor_name }}
No. Telepon
{{ $booking->visitor_phone }}
Tempat
{{ $booking->place->name }}
Tanggal Booking
{{ $booking->booking_date->format('d F Y') }}
Alamat
{{ $booking->visitor_address }}
@if($booking->notes)
Catatan
{{ $booking->notes }}
@endif
@if($booking->status === 'pending')
Setujui booking ini jika semua data sudah sesuai
@else
@if($booking->status === 'confirmed')
@else
@endif
Booking {{ ucfirst($booking->status) }}
Status booking sudah diproses
@endif
@if($booking->payment_proof)
@php($proofPath = str_starts_with($booking->payment_proof, 'payment-proofs/') ? $booking->payment_proof : 'payment-proofs/'.$booking->payment_proof)
@endif
@endsection
@section('modals')
@if($booking->payment_proof)
@php($proofPath = str_starts_with($booking->payment_proof, 'payment-proofs/') ? $booking->payment_proof : 'payment-proofs/'.$booking->payment_proof)