@extends('user.layout') @php $default = \App\Models\User\Language::where([['user_id', \Illuminate\Support\Facades\Auth::id()], ['is_default', 1]])->first(); @endphp {{-- this style will be applied when the direction of language is right-to-left --}} @includeIf('user.partials.rtl-style') @section('content')
{{ __('Rooms') }}
@includeIf('user.partials.languages')
{{ __('Add Room') }}
@if (count($roomContents) == 0)

{{ __('NO ROOM FOUND!') }}

@else
@if ($roomSetting->room_category_status == 1) @endif @if ($userBs->theme != 'home_ten') @endif @foreach ($roomContents as $roomContent) @if ($roomSetting->room_category_status == 1) @endif @if ($userBs->theme != 'home_ten') @endif @endforeach
{{ __('Title') }}{{ __('Category') }}{{ __('Status') }}{{ __('Featured') }}{{ __('Rent') }} {{ __('Actions') }}
{{ strlen($roomContent->title) > 30 ? mb_substr($roomContent->title, 0, 30, 'utf-8') . '...' : $roomContent->title }} {{ $roomContent->roomCategory->name }} @if ($roomContent->room->status == 1) {{ __('Show') }} @else {{ __('Hide') }} @endif
@csrf
{{ $currencyInfo->base_currency_symbol_position == 'left' ? $currencyInfo->base_currency_symbol : '' }} {{ $roomContent->room->rent }} {{ $currencyInfo->base_currency_symbol_position == 'right' ? $currencyInfo->base_currency_symbol : '' }}
@csrf
@endif
@endsection