Room Details
Room {{ $room->room_number }}
{{ $room->roomType->name ?? 'No Type' }}
{{ ucfirst($room->status) }}
@if($room->has_active_maintenance)
Under Maintenance
@endif
Floor {{ $room->floor }}
{{ $room->capacity }} Guests
UGX {{ number_format($room->price_per_night, 2) }} / night
@if($room->has_active_maintenance)
Add Maintenance
@else
Request Maintenance
@endif
Active Maintenance Requests
This room has {{ $room->activeMaintenanceRequests->count() }} active maintenance request(s).
Room Images
@if($room->images && count($room->images) > 0)
@endif
@foreach($room->images as $index => $image)
@endforeach
@else
No images available for this room.
Room Information
Room Number:
{{ $room->room_number }}
Floor:
{{ $room->floor }}
Room Type:
{{ $room->roomType->name ?? 'No Type' }}
Category:
{{ $room->category ?? 'No Category' }}
Capacity:
{{ $room->capacity }} Guests
Price per Night:
UGX {{ number_format($room->price_per_night, 2) }}
Status:
{{ ucfirst($room->status) }}
@if($room->has_active_maintenance)
Maintenance Status:
Active Maintenance
@endif
Amenities
@if($room->amenities && count($room->amenities) > 0)
@foreach($room->amenities as $amenity)
{{ $amenity }}
@endforeach
@else
No amenities listed for this room.
@endifDescription
@if($room->description)
{{ $room->description }}
@elseNo description available for this room.
@endifMaintenance History Summary View Full History
{{ $room->maintenanceRequests->count() }}
Total Requests
{{ $room->activeMaintenanceRequests->count() }}
Active Requests
{{ $room->maintenanceRequests->where('status', 'completed')->count() }}
Completed
{{ $room->maintenanceRequests->where('maintenance_type', 'repair')->count() }}
Repair Requests
Recent Maintenance Requests:
| Title | Type | Priority | Status | Reported Date | Action |
|---|---|---|---|---|---|
| {{ Str::limit($maintenance->title, 30) }} | {{ $maintenance->maintenance_type }} | {{ ucfirst($maintenance->priority) }} | {{ ucfirst(str_replace('_', ' ', $maintenance->status)) }} | {{ $maintenance->reported_date->format('M j, Y') }} | View |
No maintenance history for this room.
Create First Request