@extends('layouts.master') @section('body_id', 'vendor_view_room_page') @section('content')
@include('frontend.vendor.partials.sidebar')

{{ $room->room_type }}

{{ $room->hotel->hotel_name ?? 'Unknown Property' }}  |  {{ $room->hotel->city ?? '' }}

Inventory Status: @if($room->status == 1) Active & Live @else Disabled / Hidden @endif

Primary Room Layout View

@if(!empty($room->images) && is_array($room->images) && isset($room->images[0]) && file_exists(public_path($room->images[0]))) Room Base Image @else Default Room View @endif

Room Configuration Metrics

₹{{ number_format($room->price_per_night, 2) }}
{{ $room->total_rooms }} Rooms Managed
Up to {{ $room->max_occupancy }} Guests Max

Room Setup Description

{!! nl2br(e($room->description ?? 'No infrastructure setup notes log configured for this room segment.')) !!}

In-Room Amenities & Setup Log

@if(!empty($room->amenities) && is_array($room->amenities)) @foreach($room->amenities as $amenity)
@if($amenity == 'Air Conditioning') @elseif($amenity == 'LED Smart TV') @elseif($amenity == 'Attached Washroom') @elseif($amenity == 'Geyser & Hot Water') @elseif($amenity == 'Mini Refrigerator') @elseif($amenity == 'Tea / Coffee Maker') @elseif($amenity == 'In-Room Safe Box') @elseif($amenity == 'Balcony View') @else @endif {{ $amenity }}
@endforeach @else
No specific in-room amenities designated.
@endif

Room Visuals Gallery

@if(!empty($room->images) && is_array($room->images) && count($room->images) > 0)
@foreach($room->images as $room_img) @if(file_exists(public_path($room_img)))
Room Detail View
@endif @endforeach
@else
No secondary gallery assets logged for this room segment setup.
@endif
@endsection