| Room No. | Type | Floor | Rent (₹) | Amenities | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $room->room_number }} | {{ $room->roomType->name }} | {{ $room->floor_number ?? 'Ground' }} | ₹{{ number_format($room->rent, 2) }} |
@foreach($room->amenities as $amenity)
{{ substr($amenity->name, 0, 3) }}
@endforeach
|
@if($room->beds->count() > 1)
@foreach($room->beds as $bed)
@else
@php $bed = $room->beds->first(); @endphp
@if($bed && $bed->status === 'occupied' && $bed->activeRegistration)
{{ $bed->bed_number }}
@if($bed->gender_restriction !== 'any')
{{ $bed->gender_restriction }} only
@endif
@if($bed->status === 'occupied' && $bed->activeRegistration)
{{ $bed->activeRegistration->full_name }}
@elseif($bed->is_blocked_for_infection)
BLOCKED
@else
{{ strtoupper($bed->status) }}
@endif
Occupied
{{ $bed->activeRegistration->full_name }}
@elseif($bed && $bed->is_blocked_for_infection)
ISO Blocked
@else
@endif
@endif
|
@if($room->activeRegistration && $room->beds->count() === 1)
@endif
@if($room->images->count() > 0)
{{ $room->images->count() }}
@endif
|
| No rooms configured | ||||||