@extends('layouts.app') @section('title', 'Problem Categories') @section('content')

Problem Categories

Add New Category
@if(session('success')) @endif
@forelse($problemCategories as $category) @empty @endforelse
ID Name Code Color Status Sort Order Created By Created At Actions
{{ $category->id }} {{ $category->name }} @if($category->description)
{{ Str::limit($category->description, 50) }} @endif
{{ $category->code }} {{ $category->name }} {{ $category->status_text }} {{ $category->sort_order }} {{ $category->creator ? $category->creator->name : 'N/A' }} {{ $category->created_at->format('M d, Y') }}
@csrf @method('DELETE')

No problem categories found.
@if($problemCategories->hasPages())
{{ $problemCategories->appends(request()->query())->links() }}
@endif
@endsection