{{-- resources/views/public/confirmation-booking.blade.php --}} @php // Get theme fonts from active preset $headingFont = 'Inter'; $bodyFont = 'Inter'; if ($website && $website->activeTheme && $website->activeTheme->theme) { $defaultPreset = $website->activeTheme->theme->presets()->where('is_default', true)->first(); if ($defaultPreset && isset($defaultPreset->font_scheme)) { $headingFont = $defaultPreset->font_scheme['heading'] ?? 'Inter'; $bodyFont = $defaultPreset->font_scheme['body'] ?? 'Inter'; } } // Build Google Fonts URL dynamically $fontsToLoad = []; if ($headingFont !== 'Default') { $fontsToLoad[] = str_replace(' ', '+', $headingFont) . ':wght@300;400;500;600;700;800;900'; } if ($bodyFont !== 'Default' && $bodyFont !== $headingFont) { $fontsToLoad[] = str_replace(' ', '+', $bodyFont) . ':wght@300;400;500;600;700;800;900'; } $googleFontsUrl = 'https://fonts.googleapis.com/css2?family=' . implode('&family=', $fontsToLoad) . '&display=swap'; // Get booking details $booking = $order->booking; @endphp Booking Confirmation - {{ $website->name }} @if($website->theme) @endif @if(count($fontsToLoad) > 0) @endif @php $headerSection = $website->globalSections()->where('type', 'header')->where('is_default', true)->first(); @endphp @if($headerSection) @if($headerSection->builder_data)
{!! $headerSection->renderBuilderContent() !!}
@elseif($headerSection->builder_v2_data)
@include('global-sections.render-v2', ['section' => $headerSection])
@endif @endif
@if(session('success')) @endif @if(request()->query('success')) @endif @if(request()->query('pending')) @endif

Booking Confirmed!

Thank you for your booking. We've received your reservation and will see you soon!

Order #{{ $order->order_number }}
@if($booking)
Booking #{{ $booking->booking_reference }}
@endif
@if($booking)
Booking Details
@if($booking->bookingResource)
{{ ucfirst($booking->bookingResource->resource_type) }}:

{{ $booking->bookingResource->name }}

@if($booking->bookingResource->description)

{{ $booking->bookingResource->description }}

@endif
@endif
Start Date & Time:
{{ $booking->start_datetime->format('l, F j, Y') }}
{{ $booking->start_datetime->format('g:i A') }}
End Date & Time:
{{ $booking->end_datetime->format('l, F j, Y') }}
{{ $booking->end_datetime->format('g:i A') }}
Duration: @php $days = ceil($booking->start_datetime->diffInDays($booking->end_datetime)); $hours = $booking->start_datetime->diffInHours($booking->end_datetime); $minutes = $booking->start_datetime->diffInMinutes($booking->end_datetime) % 60; @endphp
@if($days > 0) {{ $days }} {{ Str::plural('day', $days) }} @endif @if($hours % 24 > 0 || $minutes > 0) {{ $hours % 24 }} {{ Str::plural('hour', $hours % 24) }} @if($minutes > 0) {{ $minutes }} {{ Str::plural('minute', $minutes) }} @endif @endif
Participants:
{{ $booking->participants }} {{ Str::plural('participant', $booking->participants) }}
@if($booking->special_requests)
Special Requests:
{{ $booking->special_requests }}
@endif
@endif
Order Information
Order Number:
{{ $order->order_number }}
Order Date:
{{ $order->created_at->format('F j, Y \a\t g:i A') }}
Payment Method:
@switch($order->payment_method) @case('chipin') Online Payment @break @case('bank_transfer') Bank Transfer @break @case('cash_on_delivery') Pay at the Counter @break @default {{ ucfirst(str_replace('_', ' ', $order->payment_method)) }} @endswitch
Payment Status:
{{ ucfirst($order->payment_status) }}
Customer Information
Name:
{{ $order->customer_name }}
Email:
{{ $order->customer_email }}
@if($order->customer_phone)
Phone:
{{ $order->customer_phone }}
@endif
@if($order->notes)
Additional Notes

{{ $order->notes }}

@endif
Booking Summary
Total Amount: {{ $website->getCurrencySymbol() }} {{ number_format($order->total_amount, 2) }}
@if($order->payment_method === 'cash_on_delivery')
Payment at Counter
Please make payment when you arrive at the venue.
@elseif($order->payment_status === 'paid')
Payment Completed
Your payment has been received and confirmed.
@elseif($order->payment_status === 'pending')
Payment Pending
We're verifying your payment. You'll receive an update soon.
@endif
Back to Home
What's Next?
  • Confirmation Email
    Check your email for booking details and instructions.
  • Prepare for Your Visit
    Arrive 10-15 minutes early on your booking date.
  • @if($order->payment_method === 'cash_on_delivery')
  • Bring Payment
    Remember to bring {{ $website->getCurrencySymbol() }} {{ number_format($order->total_amount, 2) }} for counter payment.
  • @endif
  • Need Help?
    Contact us if you have any questions about your booking.
@php $footerSection = $website->globalSections()->where('type', 'footer')->where('is_default', true)->first(); @endphp @if($footerSection) @if($footerSection->builder_data) @elseif($footerSection->builder_v2_data) @endif @endif