@extends('layouts.main-layout') @section('title') In-House Reports | Dashboard @endsection @section('styles') {{-- --}} @endsection @section('content')

Current In-House Reports

@hasAccess('Create Rate Plan') @endhasAccess
{{-- --}} @foreach ($todaysDeparture as $i => $departure) @php $folio = $departure->folios->keyBy('FolioDetailId')->sortBy('FolioDetailId')->first(); @endphp {{-- --}} @endforeach
Booking No Room No Room Type Room Rate Guest Name BalanceDeparture Date
{{ $departure->BookingId }} {{ $departure->room ? $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 }} {{ $folio->Balance }}{{ date("d-m-Y", strtotime($departure->EndDate)) }}
@component('admin.includes.loader') @endcomponent @endsection