@extends('layouts.app') @section('title', 'Kategori') @section('content') @php $userName = Auth::user()->name ?? 'Admin'; @endphp
Kelola kategori produk. Tambah, edit, nonaktifkan, atau hapus kategori sesuai kebutuhan.
| Nama ⇅ | Deskripsi | Produk | Status ⇅ | Aksi |
|---|---|---|---|---|
|
{{ $cat->name }}
/{{ $cat->slug }}
|
{{ $cat->description ?: '—' }} | {{ $cat->products_count }} | @if($cat->is_active) Aktif @else Nonaktif @endif | |
| Belum ada kategori. Klik "Tambah Kategori" untuk menambahkan. | ||||