@extends('emails.layouts.email') @section('title', 'Payment Confirmed - ' . $booking->booking_number) @section('header_title', '✓ Payment Confirmed') @section('content')

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

🎉 Great news! We have received your payment and your booking is now confirmed!

Thank you for completing your payment. Your reservation at {{ $property->name }} is now confirmed. Below are the details of your booking for your reference.

Booking Number
{{ $booking->booking_number }}
Confirmed
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
Total Paid {{ $booking->currency }} {{ number_format($booking->total_amount, 0, ',', '.') }}

📋 What's Next?
• Save this email for your records
• Prepare your ID for check-in
• Check-in time is typically after 14:00
• Check-out time is typically before 12:00

@if($booking->special_requests)

Your Special Requests

{{ $booking->special_requests }}

* Special requests are subject to availability and cannot be guaranteed.

@endif

We look forward to welcoming you!
If you have any questions, please don't hesitate to contact us.

@endsection