@extends('admin.layouts.app') @section('title', $label . 's') @section('content')
Taxonomy hierarchy: Root categories and child subcategories. Deletion is automatically guarded if businesses reference a category.
| Category Name | Parent Level | Subcategories | Status | Actions |
|---|---|---|---|---|
|
@if($cat->icon)
@else
@endif
{{ $cat->name }}
@if($cat->is_featured)
Featured
@endif
{{ $cat->slug }}
|
{{-- Parent --}}
@if($cat->parent) {{ $cat->parent->name }} @else Root Category @endif | {{-- Subcategories Count --}}{{ $cat->children_count }} | {{-- Status Pill / Toggle --}}{{-- Actions --}} | |