@php use App\Enums\BookingStatus; use App\Support\Money; $paid = $booking->paidAmount(); $balance = $booking->balance(); $validPayments = $booking->payments->whereNull('voided_at'); $fees = $validPayments->sum('platform_fee'); @endphp
Room {{ $booking->room->name }} · {{ $booking->room->property->name }}
{{ $booking->notes }}
@endifVoided {{ $payment->voided_at->format('j M Y') }} by {{ $payment->voider?->name ?? 'unknown' }}: {{ $payment->void_reason }}
@endif @if ($voidingPaymentId === $payment->id) @endifGroup {{ $booking->group_reference }}
If this guest takes more rooms, add each one here so the bookings stay linked.
@endifBooked {{ $booking->created_at->format('j M Y, H:i') }}@if ($booking->creator) by {{ $booking->creator->name }}@endif @if ($booking->cancelled_at) · Cancelled {{ $booking->cancelled_at->format('j M Y, H:i') }}@endif