| {{ trans('plugins/hotel::customer.room') }} |
{{ trans('plugins/hotel::customer.image') }} |
{{ trans('plugins/hotel::customer.amount') }} |
{{ trans('plugins/hotel::customer.booking_period') }} |
{{ trans('plugins/hotel::customer.status') }} |
|
@if (count($bookings) > 0)
@foreach ($bookings as $booking)
@if ($booking->room->room->exists && ($room = $booking->room->room))
|
{{ $room->name }}
|
|
@else
{{ $booking->room->name }}
|
|
@endif
{{ format_price($booking->room->price) }} |
{{ $booking->room->booking_period }} |
{{ $booking->status->label() }} |
{{ trans('plugins/hotel::customer.view') }}
|
@endforeach
@else
| {{ trans('plugins/hotel::customer.no_bookings') }} |
@endif
{!! $bookings->links(HotelHelper::viewPath('partials.pagination')) !!}