@extends('hotel_workspace.receipt_layout') @section('receipt')

Guest Account

Nightly Price: USD {{ number_format($booking->rate,2) }}
Stay Price: {{ ucfirst($booking->hotel_rate_choice??'daily') }}
Nights: {{ $booking->nights }}

@if($booking->hotel_refunded_amount>0)

Refunded: USD {{ number_format($booking->hotel_refunded_amount,2) }}

@endif @if($booking->hotel_retained_amount>0)

Retained early-departure charge: USD {{ number_format($booking->hotel_retained_amount,2) }}

@endif

{{ $booking->booking_no }}
Guest: {{ $booking->guest_name }}
Room: {{ $booking->room->name }}
From: {{ $booking->check_in_at?->format('d M Y H:i') }}
To: {{ $booking->expected_check_out_at?->format('d M Y H:i') }}
Status: {{ str_replace('_',' ',ucfirst($booking->status)) }}

@foreach($summary['bills'] as $bill)@endforeach
ChargeCurrencyTotalBalance
AccommodationUSD{{ number_format($booking->total_amount,2) }}{{ number_format($summary['room_due'],2) }}
{{ $bill['reference'] }}{{ $bill['currency'] }}{{ number_format($bill['total'],2) }}{{ number_format($bill['balance'],2) }}
@foreach($summary['balances'] as $currency=>$amount)

Balance {{ $currency }}: {{ number_format($amount,2) }}

@endforeach @if($booking->roomPayments->isNotEmpty())

Room Payments

@foreach($booking->roomPayments as $payment)

{{ $payment->paid_at?->format('d M Y H:i') }} {{ $payment->paymentMethod?->name }} — USD {{ number_format($payment->amount,2) }}

@endforeach @endif @endsection