@extends('layouts.main-layout') @section('title') Departures @endsection @section('content')

Check Out

{{----}} @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')}}
{{$bookings->appends(request()->query())->links('vendor.pagination.default')}}
@component('admin.includes.loader') @endcomponent @endsection @section('js') @endsection {{-- @section('js') @endsection --}}