@extends('layout.base') @section('content')

Invoice

@if (!empty($bookings) && $bookings->count() > 0) @foreach($bookings as $booking) isNow()) class="booking__now" @endif> @endforeach @endif
Check In Check Out Name Phone location # Rooms Accommodation Invoice Share On WhatsApp
{{ $booking->arrival->format('d/m/Y h:i') }} {{ $booking->departure->format('d/m/Y h:i') }} {{ $booking->customer->fullname }} {{ $booking->customer->phone }} {{ $booking->customer->city }} {{ $booking->guests }} @if (!empty($booking->rooms) && isset($booking->rooms[0])) {{ $booking->rooms[0]->name }} @if (isset($booking->rooms[0]->properties->options['part']) && $booking->rooms[0]->properties->options['part'] != -1) — kamer {{ $booking->rooms[0]->properties->options['part']+1 }} @endif @else No room information available @endif
{{ $bookings->appends(request()->query())->links() }} @endsection