@extends('layouts.main-layout') @section('title') Departure Reports | Dashboard @endsection @section('content')

Departure Report

@hasAccess('Create Rate Plan') @endhasAccess
{{--

Departure Report

--}}
@foreach ($todaysDeparture as $i => $departure) {{-- @dd($departure) --}} @endforeach
Booking No Room No Room Type Room Rate Guest Name Balance Departure Date
{{ $departure->BookingId }} {{ $departure->room->RoomName }} {{ $departure->room ? $departure->room->RoomDescription: '' }} @php $firstFolio = $folio ->where('BookingId', $departure->BookingId) ->where('FolioDetailId', 1) ->first(); echo $firstFolio->PerDateRate; @endphp {{ $departure->BookerFirstName . ' ' . $departure->BookerLastName }} @foreach ($departure->folios as $folio) {{ $folio->Balance }} @endforeach {{ date("d-m-Y", strtotime($departure->EndDate)) }}
@if ($todaysDeparture->count() > 0) Print @endif
@component('admin.includes.loader') @endcomponent
@component('admin.includes.loader') @endcomponent @endsection