@extends('layouts.admin') @section('title') Departure @endsection @section('content')

brightness_1Departure

@component('admin.includes.per-page') @endcomponent {{----}} @foreach($bookings as $i => $booking) {{----}} @if($booking->room) @else @endif @endforeach
#Booking No. Booking Date Guest Name Room No. CheckIn CheckOut Status Action
{{$i + $bookings->firstItem()}}{{$booking->BookingId}} {{(new Carbon\Carbon($booking->BookingDate))->format('d-m-Y')}} {{$booking->BookerFirstName}} {{$booking->BookerLastName}}{{$booking->room->RoomName}}-{{(new Carbon\Carbon($booking->BeginDate))->format('d-m-Y')}} {{(new Carbon\Carbon($booking->EndDate))->format('d-m-Y')}} {{$booking->bookingStatus->BookingStatus}}
{{$bookings->appends(request()->query())->links('vendor.pagination.default')}}
@component('admin.includes.loader') @endcomponent @endsection @section('js') @endsection {{-- @section('js') @endsection --}}