{{ $categories->total() }} {{ \Illuminate\Support\Str::plural('category', $categories->total()) }} found
| Category | Books | Created | Actions |
|---|---|---|---|
|
{{ $category->name }} {{ $category->description }} |
{{ $category->books_count }} {{ \Illuminate\Support\Str::plural('book', $category->books_count) }} | {{ $category->created_at?->format('d M Y') ?? '—' }} |
Edit
@if ($category->books_count > 0)
Delete
@else
@endif
|