@extends('admin.layout.master') @section('custom_style') @endsection @section('content') @include('flash-message')
@if ($errors->any())
@endif

{{ __('obs.rate_allocation') }} {{ __('obs.report') }}

{{-- Create --}}
@if ($room_allocations) @if (count($room_allocations) > 0)
{{ __('obs.rate_allocation') }} {{ __('obs.report') }} ({{ $room_type == 1 ? __('obs.room') : __('obs.bed') }})
{{ __('obs.report') }} {{ __('obs.date') }}: {{ __('obs.from') }} {{ $start_date }} {{ __('obs.to') }} - {{ $end_date}}
@php $days = count($date_range); @endphp @foreach ($date_range as $date) @endforeach @foreach ($room_allocations as $room_type => $room_allocation) @foreach ($date_range as $date) @php $check = $room_allocation->where('date', $date)->first(); @endphp @if ($check != null) @else @endif @endforeach @endforeach
{{ __('obs.room') }} {{ __('obs.type') }} {{ $date->format('d') }}
{{ $date->format('D') }}
{{ $room_allocation[0]['room_type_name'] }}{{ $check['rate'] }}
@else

{{ __('obs.no_data_found') }}

@endif @endif
@endsection @section('script') @endsection