@extends('layout.ext-app') @section('content') @php($r = $reservation)
{{ $r->status->label() }} {{ ucfirst(str_replace('_', ' ', $r->payment_status)) }}
@if($payUrl){{ $r->property->address }}
Check-in: {{ $r->check_in->format('D, d M Y') }}
Check-out: {{ $r->check_out->format('D, d M Y') }}
Guest: {{ $r->guest_name }} · {{ $r->guest_email }} · {{ $r->guest_phone }}
@if($r->special_requests)Requests: {{ $r->special_requests }}
@endifPayment: {{ $r->payment_method->label() }}
@if($r->property->primaryContact)Property contact: {{ $r->property->primaryContact->name }}, {{ $r->property->primaryContact->mobile }}
@endif{{ $cancellationPolicy }}
@if($r->status === \App\Enums\ReservationStatus::Cancelled)Cancelled{{ (float) $r->refund_due > 0 ? ' ยท refund due '.$r->money($r->refund_due) : '' }}.
@elseif($cancelUrl) @endif| {{ $line->roomType->roomType }} × {{ $line->rooms }} {{ $line->occupancy->occupancy_name }}, {{ $line->mealType->mealType }} |
{{ number_format($line->subtotal, 2) }} |
| {{ $discount->description }} | − {{ number_format($discount->amount, 2) }} |
| Total | {{ $r->money($r->total) }} |
|---|
Paid: {{ $r->money($r->amount_paid) }}
@endif @if($r->payment_method === \App\Enums\PaymentMethod::PayAtHotel && $r->outstanding() > 0){{ $r->money($r->outstanding()) }} payable at the property.
@endif