@extends('user.components.layout') @push('css') @endpush @section('main')

new delhi (ndls)

16 aug - 17 aug1 room1 guest
{{-- --}} @inject('hotelcities', App\Models\HotelCityData::class) @php $hotelCities = $hotelcities::all()->map(function ($city) { return [ 'name' => $city->Hotel_Name, 'city' => $city->City ]; })->toArray(); // dd($hotelCities); // Fetching the parameters from the URL (GET request) $whereinput = request()->get('whereinput', ''); $hotel_city = request()->get('hotel_city', ''); $dep_date = request()->get('dep_date'); $ret_date = request()->get('ret_date'); $nights = request()->get('nights'); $room = request()->get('room', 1); $adult = request()->get('adult', 1); $child = request()->get('child', 0); $child_ages = request()->get('child_ages', ''); // Additional static parameters for the URL $countryType = request()->get('CountryType', 'IN'); $countryCode = request()->get('CountryCode', ''); $country_extra_2 = request()->get('country_extra_2', ''); $country_extra_1 = request()->get('country_extra_1', ''); @endphp {{-- hotel search --}}

Showing Properties In {{ ucfirst(session()->get('hotel_search_inputs')['hotel_city'] ?? session()->get('hotel_search_inputs')['location_city'] ?? 'Unknown') }}

@foreach($spacialhotels as $hotel)

{{ $hotel->hotel_name }}

@for ($i = 0; $i < $hotel->hotel_rating; $i++) @endfor

{{ $hotel->hotel_location }}{{ $hotel->hotel_address }}

{{ $hotel->hotel_rating }} good
{{ $hotel->hotel_reviews }} ratings

book with Rs.0 payment

Free Cancellation till {{ date('M d Y h:i A', strtotime($hotel->created_at)) }}

Restaurants

24*7 Room Service

GBO Special Hotels
5 rooms left
₹3,339 {{--

₹{{ $hotel->hotel_room['roomofferprice'] }}

--}}

+302 tax & fees

per night, per room

@endforeach {{-- @php dd($hotels) @endphp --}} @foreach($hotels as $hotel)
@if(isset($hotel['Images']) && is_array($hotel['Images']) && count($hotel['Images']) > 0) @endif

{{ $hotel['HotelName'] }}

{{ $hotel['HotelRating'] }} ({{ rand(10, 15) * $hotel['HotelRating'] }})

{{ $hotel['Address'] }}

@if(isset($hotel['PhoneNumber']))

{{ $hotel['PhoneNumber'] }}

@endif @if(isset($rooms[0]['Rooms'][0])) @php $basePrice = $rooms[0]['Rooms'][0]['DayRates'][0][0]['BasePrice'] ?? 0; $totalFare = $rooms[0]['Rooms'][0]['TotalFare'] ?? $basePrice; $totalTax = $rooms[0]['Rooms'][0]['TotalTax'] ?? 0; @endphp
@if($basePrice > $totalFare) {{ number_format($basePrice, 2) }} @endif

{{ number_format($totalFare, 2) }}

@if($totalTax > 0)

+ {{ number_format($totalTax, 2) }} taxes & fees

@endif

per night, per room

@else

Check availability for price

@endif
@if(isset($hotel['CheckInTime']))

Check-In : {{ $hotel['CheckInTime'] }}

@endif @if(isset($hotel['CheckOutTime']))

Check-Out : {{ $hotel['CheckOutTime'] }}

@endif
@if(isset($hotel['HotelFacilities']) && is_array($hotel['HotelFacilities']) && count($hotel['HotelFacilities']) > 0) @foreach($hotel['HotelFacilities'] as $index => $facility) @if($index <= 1)

{{ $facility }}

@endif @endforeach see more @endif
@endforeach
@endsection @push('js') @endpush