| Info Kategori | Produk | Status | Aksi |
|---|---|---|---|
|
@php
try {
$iconHtml = svg('heroicon-o-' . ($category->icon ?: 'folder'), 'h-6 w-6')->toHtml();
} catch (\Exception $e) {
$iconHtml = svg('heroicon-o-folder', 'h-6 w-6')->toHtml();
}
@endphp
{!! $iconHtml !!}
{{ $category->name }}
{{ $category->slug }}
|
{{ $category->products_count ?? 0 }} item | @if($category->is_active) Aktif @else Nonaktif @endif | |