| {{ __('hotel::modules.reservation.reservationNumber') }} | {{ __('hotel::modules.reservation.guest') }} | {{ __('hotel::modules.reservation.checkIn') }} | {{ __('hotel::modules.reservation.checkOut') }} | {{ __('hotel::modules.reservation.rooms') }} | {{ __('hotel::modules.reservation.amount') }} | {{ __('hotel::modules.reservation.status') }} | {{ __('hotel::modules.reservation.action') }} |
|---|---|---|---|---|---|---|---|
| {{ $reservation->reservation_number }} | {{-- Guest --}}
{{ $initials }}
{{ $reservation->primaryGuest->full_name }}
|
{{-- Check-in --}}
{{ $reservation->check_in_date->format('M d, Y') }}
|
{{-- Check-out --}}
{{ $reservation->check_out_date->format('M d, Y') }}
|
{{-- Rooms --}}
{{ $reservation->rooms_count }} | {{-- Amount --}}{{ currency_format($reservation->total_amount) }} | {{-- Status --}}{{ $reservation->status->label() }} | {{-- Actions --}}@php $canViewReservation = user_can('Update Hotel Reservation'); $canEditReservation = user_can('Update Hotel Reservation') && in_array($reservation->status->value, ['tentative', 'confirmed']); $canCancelReservation = user_can('Cancel Hotel Reservation') && in_array($reservation->status->value, ['tentative', 'confirmed']); @endphp @if($canViewReservation || $canEditReservation || $canCancelReservation) @endif |
|
@php
$receiptUrl = route('hotel.reservations.receipt', $reservation);
$stayIdForFolio = $reservation->stays->first()?->id;
$canCheckOut = (bool) $stayIdForFolio && user_can('Check Out Hotel Guest');
@endphp
|
|||||||
|
{{ __('hotel::modules.reservation.noReservationsFound') }} |
|||||||
{{ $activeReservation->primaryGuest?->full_name }}
{{ $activeReservation->special_requests }}