@extends('layouts.frontend') @section('content') @section('style') @endsection

Hotel details

@if(empty($hotelDetail) || empty($roomDetail))

Result not found, please reload the page

@else

{{$hotelDetail->HotelName}}

{{$hotelDetail->Address}}
{{--

Excellent

4.8/5

(1214 reviewes)

--}}
@php $imageCount = count($hotelDetail->Images); @endphp @foreach ($hotelDetail->Images as $imgKey => $hotelImg)
img
@endforeach
@php $imageCount = count($hotelDetail->Images); @endphp @foreach ($hotelDetail->Images as $imgKey => $hotelImg)
img
@endforeach
{{--

Overview

{!! $hotelDetail->Description !!}
--}} @php $roomCombinationsArr = []; @endphp @if (!empty($roomCombinations)) @foreach ($roomCombinations->RoomCombination as $roomCombination) @php $roomCombinationsArr[] = $roomCombination->RoomIndex[0]; @endphp @endforeach @endif

Select your room

@php $hotelObj = new \App\Http\Controllers\Frontend\HotelController; @endphp @foreach ($roomDetail as $roomInfo) @php $hotelASJ = $hotelObj->bp_hotel_get_fare($roomInfo->Price->OfferedPrice, $roomInfo->Price->PublishedPrice, "1"); @endphp @if(!empty($roomCombinationsArr) && in_array($roomInfo->RoomIndex, $roomCombinationsArr)) @php $rand = rand(0,$imageCount-1); @endphp @php $fromDate= strtotime( $roomInfo->CancellationPolicies[0]->FromDate ); $fromDate= date('d-m-Y', $fromDate ); $toDate = strtotime( $roomInfo->CancellationPolicies[0]->ToDate ); $toDate= date('d-m-Y', $toDate ); @endphp
img

{{$roomInfo->RoomTypeName}}

    @foreach ($roomInfo->Amenities as $amenities)
  • {{$amenities}}
  • @endforeach
From {{$fromDate}} to {{$toDate}} cancellation charge : {{$roomInfo->CancellationPolicies[0]->Charge}}%

₹{{$hotelASJ['final_fare']}}/ Per night

@csrf
@endif @endforeach
{{--
--}}

Amenities

    @foreach ($hotelDetail->HotelFacilities as $facility)
  • {{$facility}}
  • @endforeach
{{--

Hotel location

--}}

Overview

{!! $hotelDetail->Description !!}

Attractions

@if(!empty($hotelDetail->Attractions)) @foreach($hotelDetail->Attractions as $attraction) {!! $attraction->Value !!} @endforeach @endif
@endif @section('scripts') @endsection @endsection