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

brightness_1Arrivals

@component('admin.includes.per-page') @endcomponent {{----}} @foreach($bookings as $i => $booking) {{-- not using because rows are being deleted from ajax --}} {{----}} @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}} @if($booking->bookingStatus->BookingStatusId == 1) @endif
{{$bookings->appends(request()->query())->links('vendor.pagination.default')}}
@component('admin.includes.loader') @endcomponent @endsection @section('js') @endsection