@extends('admin.layout.master') @section('custom_style') @endsection @section('content') @include('flash-message')
@if ($errors->any())
@endif
Rate Allocation List
Create
@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{ Form::open(['route' => ['frontdesk.room_rates.index'], 'method' => 'get', 'class' => 'form-horizontal']) }}
Hotel
{{ Form::select('ware_id', $repository->ware_houses(), null, ['class' => 'form-control text-right', 'id' => 'warehouse_id', 'placeholder' => 'Select Hotel']) }}
Status
{{ Form::select('status', ['1' => 'Active','2' => 'Inactive'], null, ['class' => 'form-control', 'id' => 'party_id']) }}
{{--
Date From
{{ Form::text('start_date', null, ['class' => 'form-control fd_bs_datepicker', 'id' => 'start_date']) }}
Date To
{{ Form::text('end_date', null, ['class' => 'form-control fd_bs_datepicker', 'id' => 'end_date']) }}
--}}
{{ Form::close() }}
@if(!empty($room_allocations)) @foreach($room_allocations as $room_allocation) @endforeach @endif
Hotel Bed Types Week Day Bed Rate Weekend Bed Rate Week Day Room Rate Weekend Room Rate Start Date End Date Status Action
{{$room_allocation->warehouse->name_eng}} {{$room_allocation->room_type->name}} {{$room_allocation->week_day_bed_rate}} {{$room_allocation->weekend_bed_rate}} {{$room_allocation->week_day_room_rate}} {{$room_allocation->weekend_room_rate}} {{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) Active @else Inactive @endif
@endsection @section('script') @endsection