House Keeping
Rooms to Clean Today
{{ $todaysTasksCount ?? 0 }}
Total Rooms
{{ $totalRooms ?? 0 }}
Completed Today
{{ $completedToday ?? 0 }}
Recent Checkouts
{{ $recentCheckoutsCount ?? 0 }}
Floor 1 - Room Status
Select a floor to view rooms
Select Floor
@foreach($floors ?? [1, 2, 3, 4, 5] as $floor)
@endforeach
Room Cleaning Status
| Room | Type | Housekeeping Status | Room Management Status | Floor | Last Cleaned | Notes | Actions |
|---|---|---|---|---|---|---|---|
| {{ $room->room_number ?? 'N/A' }} @if($isRecentlyCheckedOut) Checked Out @endif | @if(isset($room->roomType) && $room->roomType) {{ $room->roomType->name ?? 'Standard' }} @else Standard @endif | {{ $roomStatus == 'checked_out' ? 'Recently Checked Out' : ucfirst(str_replace('_', ' ', $roomStatus)) }} | {{ ucfirst($roomManagementStatus) }} | {{ $room->floor ?? 'N/A' }} | {{ isset($room->last_cleaned_at) ? \Carbon\Carbon::parse($room->last_cleaned_at)->format('M j, g:i A') : 'N/A' }} | {{ isset($room->housekeeping_notes) ? \Illuminate\Support\Str::limit($room->housekeeping_notes, 30) : 'No notes' }} | |
|
No rooms found |
|||||||
Today's Cleaning Schedule
@if(isset($todaysTasks) && $todaysTasks->count() > 0)
@else
@endif
| Room | Task Type | Assigned To | Priority | Status | Created | Actions |
|---|---|---|---|---|---|---|
| {{ $task->room->room_number ?? 'N/A' }} | {{ ucfirst($task->task_type ?? 'daily') }} Cleaning |
@if($task->staff)
{{ substr($task->staff->first_name ?? 'U', 0, 1) }}{{ substr($task->staff->last_name ?? '', 0, 1) }}
{{ $task->staff->first_name ?? '' }} {{ $task->staff->last_name ?? '' }}
|
{{ ucfirst($task->priority ?? 'medium') }} | {{ ucfirst($task->status ?? 'pending') }} | {{ isset($task->created_at) ? $task->created_at->format('g:i A') : 'N/A' }} | @if($task->id ?? false) @else N/A @endif |
No Tasks Today
There are no housekeeping tasks scheduled for today.
Housekeeping Department Staff
{{ $housekeepingStaff->count() ?? 0 }} Members
@if(isset($housekeepingStaff) && $housekeepingStaff->count() > 0)
@endif
@foreach($housekeepingStaff as $staffMember)
@php
$staffName = is_object($staffMember) ? $staffMember->name : ($staffMember['name'] ?? '');
$staffPosition = is_object($staffMember) ? ($staffMember->position ?? 'Housekeeping Staff') : ($staffMember['position'] ?? 'Housekeeping Staff');
$staffEmail = is_object($staffMember) ? ($staffMember->email ?? '') : ($staffMember['email'] ?? '');
$staffPhone = is_object($staffMember) ? ($staffMember->phone ?? '') : ($staffMember['phone'] ?? '');
$staffActive = is_object($staffMember) ? ($staffMember->active ?? true) : ($staffMember['active'] ?? true);
@endphp
@if($staffName)
@endif
@endforeach
@else
{{ substr($staffName, 0, 1) }}
{{ $staffName }}
{{ $staffPosition }}
@if($staffEmail)
{{ $staffEmail }}
@endif @if($staffPhone) {{ $staffPhone }} @endif
@endif @if($staffPhone) {{ $staffPhone }} @endif
{{ $staffActive ? 'Active' : 'Inactive' }}
No Housekeeping Staff Found
There are currently no staff members assigned to the housekeeping department.
Department Overview
Today's Progress
@php $totalRooms = $rooms->count() ?? 0; $completedRooms = $completedToday ?? 0; $productivity = $totalRooms > 0 ? round(($completedRooms / $totalRooms) * 100) : 0; @endphp{{ $totalRooms }}
Total Rooms
{{ $completedToday ?? 0 }}
Completed Today
{{ $roomStatuses['in_progress'] ?? 0 }}
In Progress
Room Status Distribution
| Status | Count | Percentage |
|---|---|---|
| {{ $status == 'checked_out' ? 'Recently Checked Out' : ucfirst(str_replace('_', ' ', $status)) }} | {{ $count }} | {{ $percentage }}% |