@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Monthly Room Occupancy Forecast') @section('css') @endsection @section('content')
{{--

Daily Revenue Report

--}}

{{--
--}}

{{-- --}}
@include('report.monthly_room_occupancy_forecast_pdf')
{{-- @if(!$hotcoms->isEmpty()) @foreach($hotcoms as $hotcom) @endforeach @endif
Date Hotel Name Sold Room Occupancy Average Roomrate Room Revenue Actions
{{ date('d-m-Y', strtotime($hotcom->date)) }}
{{ $hotcom->hotel_name }}
{{ $hotcom->saleable_room }}
{{ $hotcom->occupied_room }} %
Rp. {{ ribuan($hotcom->average_room_rate) }}
Rp. {{ ribuan($hotcom->room_revenue) }}
--}}
{{-- get tanggal --}} @php $period = explode(' - ', \Request::get('period') ?? getSystemDate().' - '.formatDate('+29 day '.getSystemDate())); $period[0] = formatDate($period[0]); $period[1] = formatDate($period[1]); @endphp {{-- closing get tanggal --}} @endsection @section('js') @endsection