@extends('user-front.layout') @section('tab-title') {{ $keywords['Rooms'] ?? 'Rooms' }} @endsection @section('meta-description', !empty($userSeo) ? $userSeo->meta_description_rooms : '') @section('meta-keywords', !empty($userSeo) ? $userSeo->meta_keyword_rooms : '') @section('page-name') {{ $keywords['Rooms'] ?? 'Rooms' }} @endsection @section('br-name') {{ $keywords['Rooms'] ?? 'Rooms' }} @endsection @section('content')
@if (!is_null($roomSetting) && $roomSetting->room_category_status == 1)
@endif
@if (count($roomInfos) == 0)

{{ $keywords['No_Room_Found!'] ?? 'No Room Found!' }}

@else
@foreach ($roomInfos as $roomInfo)
room

{{ $currencyInfo->base_currency_symbol_position == 'left' ? $currencyInfo->base_currency_symbol : '' }} {{ formatNumber($roomInfo->rent) }} {{ $currencyInfo->base_currency_symbol_position == 'right' ? $currencyInfo->base_currency_symbol : '' }} / {{ $keywords['Night'] ?? 'Night' }}

@if (!is_null($roomSetting) && $roomSetting->room_category_status == 1) @endif

{{ strlen($roomInfo->title) > 45 ? mb_substr($roomInfo->title, 0, 45, 'utf-8') . '...' : $roomInfo->title }}

{{ $roomInfo->summary }}

  • {{ $roomInfo->bed }} {{ $roomInfo->bed == 1 ? $keywords['Bed'] ?? 'Bed' : $keywords['Beds'] ?? 'Beds' }}
  • {{ $roomInfo->bath }} {{ $roomInfo->bath == 1 ? $keywords['Bath'] ?? 'Bath' : $keywords['Baths'] ?? 'Baths' }}
  • @if (!empty($roomInfo->max_guests))
  • {{ $roomInfo->max_guests }} {{ $roomInfo->max_guests == 1 ? $keywords['Guest'] ?? 'Guest' : $keywords['Guests'] ?? 'Guests' }}
  • @endif
@if (!is_null($roomSetting) && $roomRating->room_rating_status == 1) @php $avgRating = \App\Models\User\HotelBooking\RoomReview::where('room_id', $roomInfo->room_id)->avg('rating'); @endphp
@endif
@endforeach
@endif
@includeIf('user-front.room.room_sidebar')
@endsection @section('styles') @endsection @section('scripts') @endsection