@extends('layouts.app') @section('content')
@include('partials.header') @include('partials.sidebar')

View Room

{{ $room->room }}
@if ($room->roomType) {{ $room->roomType->name }} @else No room type assigned @endif
@if ($room->status_room === 'checked_in') Checked In @else Checked Out @endif
@if ($room->status_bg) Active @else Inactive @endif
@if ($room->description)
{{ $room->description }}
@else No description provided @endif
#{{ $room->id }}

Guest Information

@if ($room->guestname)
{{ $room->guestname }}
@else No guest assigned @endif
@if ($room->guest_image && $room->guest_image !== 'noimage.jpg') {{ $room->guestname ?? 'Guest' }} @else No Guest Image @endif

Welcome Greeting

@if ($welcomeGreeting)
@if ($greetingType === 'personal') Personal Assignment @elseif($greetingType === 'general') General Assignment @endif
{!! nl2br(e($welcomeGreeting)) !!}
@else
No Welcome Greeting Assigned

This room doesn't have any welcome greeting assigned. You can assign one from the Welcome Greeting Management.

@endif

WiFi Configuration

@if ($room->username_cast && $room->password_cast)
{{ $room->username_cast }}
{{ str_repeat('•', strlen($room->password_cast)) }}
@if ($room->qrcode_cast && $room->qrcode_cast !== 'noimage.jpg')
WiFi QR Code
Click to view full size
@endif
@else
No WiFi Configuration

WiFi credentials have not been configured for this room.

@endif

Room Appearance

@if ($room->background_img && $room->background_img !== 'noimage.jpg') Room Background
Click to view full size
@else
No Background Image
No background image set
@endif
@endsection