@extends('layouts.app') @section('title', 'Category Report') @section('content')

Category & Sub Category Report

View statistics for categories and subcategories (Current Month: {{ now()->format('F Y') }})

Categories
SHOW ENTRIES
@if($categories->count() > 0)
@foreach($categories as $index => $category) @endforeach
SL Category Name Description Total Tickets Solved Tickets Pending Tickets
{{ $index + 1 }} {{ $category['name'] }} {{ $category['description'] ?? 'N/A' }} {{ $category['ticket_count'] }} {{ $category['solved_count'] }} {{ $category['pending_count'] }}
@else
No categories found.
@endif
Sub Categories
SHOW ENTRIES
@if($subcategories->count() > 0)
@foreach($subcategories as $index => $subcategory) @endforeach
SL Sub Category Name Category Description Total Tickets Solved Tickets Pending Tickets
{{ $index + 1 }} {{ $subcategory['name'] }} {{ $subcategory['category_name'] }} {{ $subcategory['description'] ?? 'N/A' }} {{ $subcategory['ticket_count'] }} {{ $subcategory['solved_count'] }} {{ $subcategory['pending_count'] }}
@else
No subcategories found.
@endif
@endsection