{{ $itServiceRequests->total() }} results found @if ($search) for "{{ $search }}" @endif @if ($statusFilter) with status "{{ $statusFilter }}" @endif
Clear all filters| ID @if ($sortBy === 'id') @endif | Requester | Detail | Type / Category | Assigned To | Status @if ($sortBy === 'req_status') @endif |
|---|---|---|---|---|---|
|
#{{ $request->id }}
|
{{ $request->name ?? 'N/A' }}
{{ $request->department ?? '' }}
{{ $request->request_number ?? '-' }} |
{{ $request->detail }}
|
@if ($request->priority)
@php
$pClass = match ($request->priority) {
'Critical' => 'bg-red-100 text-red-800',
'High' => 'bg-orange-100 text-orange-800',
'Medium' => 'bg-blue-100 text-blue-800',
default => 'bg-gray-100 text-gray-800',
};
@endphp
{{ $request->priority }}
@endif
@if ($request->request_type)
{{ ucfirst($request->request_type) }}
@endif
@if ($request->request_category)
{{ ucfirst($request->request_category) }}
@endif
@if (!$request->priority && !$request->request_type && !$request->request_category)
-
@endif
|
{{ $request->approver2_name ?? '-' }}
|
@php $status = $request->req_status; $statusLabel = match ($status) { 'Initiated' => 'Pending', 'In process' => 'In Process', 'Approved' => 'Completed', default => $status, }; @endphp $status === 'Initiated', 'bg-yellow-50 text-yellow-700 ring-1 ring-yellow-200' => $status === 'In process', 'bg-green-50 text-green-700 ring-1 ring-green-200' => $status === 'Approved', 'bg-red-50 text-red-700 ring-1 ring-red-200' => $status === 'Rejected', 'bg-gray-50 text-gray-700 ring-1 ring-gray-200' => !in_array($status, ['Initiated', 'In process', 'Approved', 'Rejected']), ])> {{ $statusLabel }} |
|
No IT service requests found. Create your first IT service request → |
|||||