@extends('emails.layouts.email') @section('title', 'Booking Confirmation - ' . $booking->booking_number) @section('header_title', 'Booking Confirmation') @section('content')

Dear {{ $guest->first_name }} {{ $guest->last_name }},

Thank you for your booking! We have received your reservation and it is currently being processed. Please complete your payment to confirm your booking.

Booking Number
{{ $booking->booking_number }}
Pending Payment
Check-in Date {{ \Carbon\Carbon::parse($rooms->first()->checkin_date)->format('l, d M Y') }}
Check-out Date {{ \Carbon\Carbon::parse($rooms->first()->checkout_date)->format('l, d M Y') }}
Duration {{ $rooms->first()->total_nights }} Night(s)
Total Guests {{ $rooms->sum('adults') }} Adult(s), {{ $rooms->sum('children') }} Child(ren)

Room Details

@foreach($rooms as $room)
{{ $room->roomType->name ?? 'Room' }}
{{ $room->ratePlan->name ?? 'Standard Rate' }} • {{ $room->adults }} Adult(s)@if($room->children), {{ $room->children }} Child(ren)@endif
{{ $booking->currency }} {{ number_format($room->total_amount, 0, ',', '.') }}
@endforeach @if($extras->count() > 0)

Extra Services

@foreach($extras as $extra)
{{ $extra->extra->name ?? 'Extra Service' }}
Qty: {{ $extra->quantity }}
{{ $booking->currency }} {{ number_format($extra->total_amount, 0, ',', '.') }}
@endforeach @endif
@if($booking->tax_amount > 0) @endif @if($booking->service_fee > 0) @endif
Subtotal {{ $booking->currency }} {{ number_format($booking->subtotal_amount, 0, ',', '.') }}
Tax {{ $booking->currency }} {{ number_format($booking->tax_amount, 0, ',', '.') }}
Service Fee {{ $booking->currency }} {{ number_format($booking->service_fee, 0, ',', '.') }}
Total Amount {{ $booking->currency }} {{ number_format($booking->total_amount, 0, ',', '.') }}

⏰ Payment Due: {{ $booking->payment_due_date ? $booking->payment_due_date->format('d M Y, H:i') : 'Within 24 hours' }}
Please complete your payment before the due date to confirm your booking.

@if($booking->special_requests)

Special Requests

{{ $booking->special_requests }}

@endif

If you have any questions about your booking, please don't hesitate to contact us.

@endsection