| Name | Subcategories | Department | Status |
|---|---|---|---|
| {{ $cat->name }} | @if($cat->children->isNotEmpty()) {{ $cat->children->pluck('name')->join(', ') }} @else — @endif | {{ $cat->department->name ?? '—' }} | @if($cat->is_active) Active @else Inactive @endif |
@extends('admin.admin_dashboard') @section('admin')
| Name | Subcategories | Department | Status |
|---|---|---|---|
| {{ $cat->name }} | @if($cat->children->isNotEmpty()) {{ $cat->children->pluck('name')->join(', ') }} @else — @endif | {{ $cat->department->name ?? '—' }} | @if($cat->is_active) Active @else Inactive @endif |