@extends('frontend.layout') @section('pageHeading') @if (!empty($pageHeading->rooms_page_title)) {{ $pageHeading->rooms_page_title }} @else {{ __('Rooms') }} @endif @endsection @section('metaKeywords') @if (!empty($seoInfo)) {{ $seoInfo->meta_keyword_rooms }} @endif @endsection @section('metaDescription') @if (!empty($seoInfo)) {{ $seoInfo->meta_description_rooms }} @endif @endsection @section('content')
  • @if ($basicInfo->google_map_api_key_status == 1) @endif
@if (count($featured_contents) < 1 && count($currentPageData) < 1)
{{ __('NO ROOM FOUND') }}
@else
@foreach ($featured_contents as $room)
@endforeach @foreach ($currentPageData as $room)
{{ __('Room Image') }} @if (Auth::guard('web')->check()) @php $user_id = Auth::guard('web')->user()->id; $checkWishList = checkroomWishList($room->id, $user_id); @endphp @else @php $checkWishList = false; @endphp @endif
@for ($i = 0; $i < $room->stars; $i++) @endfor
@php $city = null; $State = null; $country = null; if ($room->city_id) { $city = App\Models\Location\City::Where('id', $room->city_id)->first()->name; } if ($room->state_id) { $State = App\Models\Location\State::Where('id', $room->state_id)->first()->name; } if ($room->country_id) { $country = App\Models\Location\Country::Where('id', $room->country_id)->first()->name; } @endphp
  • {{ @$city }}@if (@$State) , {{ $State }} @endif @if (@$country) , {{ $country }} @endif
  • {{ number_format($room->average_rating, 2) }} ({{ totalRoomReview($room->id) }} {{ totalRoomReview($room->id) > 1 ? __('Reviews') : __('Review') }})
  • @php $amenities = json_decode($room->amenities); $totalAmenities = count($amenities); $displayCount = 5; @endphp
      @foreach ($amenities as $index => $amenitie) @php if ($index >= $displayCount) { break; } $amin = App\Models\Amenitie::find($amenitie); @endphp
    • @endforeach @if ($totalAmenities > $displayCount)
    • (+{{ $totalAmenities - $displayCount }})
      @foreach ($amenities as $index => $amenitie) @php if ($index < $displayCount) { continue; } $amin = App\Models\Amenitie::find($amenitie); @endphp @endforeach
    • @endif
      @php $prices = App\Models\HourlyRoomPrice::where('room_id', $room->id) ->where('hourly_room_prices.price', '!=', null) ->join('booking_hours', 'hourly_room_prices.hour_id', '=', 'booking_hours.id') ->orderBy('booking_hours.serial_number') ->select('hourly_room_prices.*', 'booking_hours.serial_number') ->get(); @endphp @foreach ($prices as $price)
    • {{ symbolPrice($price->price) }} {{ $price->hour }} {{ __('Hrs') }}
    • @endforeach
    @endforeach
    @endif
    @if (!empty(showAd(3)))
    {!! showAd(3) !!}
    @endif
    @include('frontend.partials.map-modal') @endsection @section('script') @if ($basicInfo->google_map_api_key_status == 1) @endif @endsection