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

{{__('obs.rate')}} {{__('obs.allocation')}} {{__('obs.list')}}

{{__('obs.create')}}
@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@if(!empty($room_allocations)) @foreach($room_allocations as $room_allocation) @endforeach @endif
{{__('obs.hotel')}} {{__('obs.rate')}} {{__('obs.code')}} {{__('obs.season')}} {{__('obs.code')}} {{__('obs.start_date')}} {{__('obs.end_date')}} {{__('obs.status')}} {{__('obs.action')}}
{{$room_allocation->warehouse->name_eng}} {{$room_allocation->rate_code ? $room_allocation->rate_code->name : null}} {{$room_allocation->season_code ? $room_allocation->season_code->name : null}} {{carbon()->parse($room_allocation->start_date)->format("d-m-Y")}} {{carbon()->parse($room_allocation->end_date)->format("d-m-Y")}} @if ($room_allocation->status ==1) {{__('obs.active')}} @else {{__('obs.inactive')}} @endif
@endsection @section('script') @endsection