Service Requests
Manage and track all service requests and assignments
@if(session('success'))
@endif
{{ session('success') }}
@endif
@if($errors->any())
-
@foreach($errors->all() as $error)
- {{ $error }} @endforeach
{{ $totalRequests ?? 0 }}
Total Requests
{{ $pendingCount ?? 0 }}
Pending
{{ $inProgressCount ?? 0 }}
In Progress
{{ $completedCount ?? 0 }}
Completed
All Service Requests
{{ $requests->total() }} Total Requests
@if($requests->count() > 0)
@else
@endif
| ID | Service & Guest | Scheduled | Price | Type | Priority | Actions |
|---|---|---|---|---|---|---|
| #{{ $request->id }} @if($request->is_urgent) URGENT @endif |
{{ $request->service->name ?? 'Unknown Service' }}
{{ $request->service->category->name ?? 'Uncategorized' }}
{{ $request->guest->first_name ?? 'Unknown' }} {{ $request->guest->last_name ?? 'Guest' }}
@if($request->guest_type == 'hotel_guest' && $request->room)
• Room {{ $request->room->room_number ?? 'N/A' }}
@elseif($request->guest_type == 'walk_in')
• Walk-in Guest
@elseif($request->guest_type == 'service_guest')
• Service Guest
@endif
|
{{ $request->scheduled_at->format('M j, Y') }}
{{ $request->scheduled_at->format('g:i A') }}
@if($request->scheduled_at->isPast() && $request->status == 'pending')
Overdue
@endif
|
UGX {{ number_format($request->total_price, 0) }} | @php $typeClass = $request->guest_type == 'walk_in' ? 'bg-info' : ($request->guest_type == 'service_guest' ? 'bg-secondary' : 'bg-primary'); $typeText = $request->guest_type == 'walk_in' ? 'Walk-in' : ($request->guest_type == 'service_guest' ? 'Service' : 'Hotel'); @endphp {{ $typeText }} | @php $priorityClass = $request->is_urgent ? 'priority-high' : 'priority-low'; $priorityText = $request->is_urgent ? 'High' : 'Low'; @endphp {{ $priorityText }} |
No Service Requests Found
There are no service requests matching your current filters.