@hotelSettings
| ID | Title | Location | Type | Priority | Status | Reported Date | Scheduled Date | Assigned To | Actions |
|---|---|---|---|---|---|---|---|---|---|
| #{{ $maintenance->id }} | {{ Str::limit($maintenance->title, 30) }} @if($maintenance->maintenance_type === 'repair') Repair @endif | @if($maintenance->room) Room {{ $maintenance->room->room_number }} @if($maintenance->room->status === 'maintenance') Room Locked @endif @else {{ $maintenance->location ?? 'General' }} @endif | {{ $maintenance->maintenance_type }} | @php $priorityBadge = match($maintenance->priority) { 'urgent' => 'bg-danger', 'high' => 'bg-warning', 'medium' => 'bg-info', 'low' => 'bg-success', default => 'bg-secondary' }; @endphp {{ ucfirst($maintenance->priority) }} | @php $statusBadge = match($maintenance->status) { 'pending' => 'bg-warning', 'in_progress' => 'bg-info', 'completed' => 'bg-success', 'cancelled' => 'bg-danger', default => 'bg-secondary' }; @endphp {{ ucfirst(str_replace('_', ' ', $maintenance->status)) }} | {{ $maintenance->reported_date ? $maintenance->reported_date->format('M j, Y') : 'N/A' }} | @if($maintenance->scheduled_date) {{ $maintenance->scheduled_date->format('M j, Y') }} @else Not scheduled @endif | {{ $maintenance->assignedTechnician?->full_name ?? 'Not Assigned' }} |
Get started by creating your first maintenance request.
Create Request