@extends('layouts.app') @section('title', 'Service Request Categories') @section('content') {{-- Fixed Top Action Bar --}}
Service Request Categories
{{-- Standardized 6 Icons --}}
{{-- Search Input --}}
{{-- Bulk Actions Dropdown --}}
{{-- Filters Toggle Button --}}
{{-- Per Page Select --}}
{{-- Collapsible Filters Section --}}
@forelse($categories as $category) @empty @endforelse
Category Name Description Priority SLA (Hours) Status Actions
{{ $category->name }} {{ Str::limit($category->description, 50) }} @php $priorityClass = [ 'low' => 'bg-soft-success text-success', 'medium' => 'bg-soft-info text-info', 'high' => 'bg-soft-warning text-warning', 'critical' => 'bg-soft-danger text-danger' ][$category->priority] ?? 'bg-secondary'; @endphp {{ ucfirst($category->priority) }} {{ $category->sla_hours }}h
status === 'active' ? 'checked' : '' }}>
@can('HoReCa Service Requests manage categories') @endcan

No categories found matching your criteria.

@if ($categories->total() > 0)
Showing {{ $categories->firstItem() }} to {{ $categories->lastItem() }} of {{ $categories->total() }} entries
@endif
{{ $categories->appends(request()->query())->links() }}
@endsection @push('js') @endpush