@extends('layouts.admin') @section('page-title', 'Categories') @push('styles') @endpush @section('content')
{{-- Page Header --}}

All Categories

You have total {{ $categories->total() }} Categories

@csrf
{{-- Table --}}

Categories

@forelse($categories as $index => $category) @empty @endforelse
# Title Root Order Thumb Banner Comm. Featured Status Options
{{ $categories->firstItem() + $index }}
@if($category->icon) {{ $category->icon }} @endif {{ $category->name }}
{{ $category->parent?->name ?? 'โ€”โ€”' }} {{ $category->sort_order }} @if($category->image) {{ $category->name }} @else
@endif
@if($category->banner) {{ $category->name }} @else
@endif
{{ $category->commission_rate }}%
@csrf
@csrf
@csrf @method('DELETE')

No categories yet

Add your first category using the form

@if($categories->hasPages())
{{ $categories->links() }}
@endif
{{-- Add Category Form --}}

Add New Category

@csrf
@error('title')

{{ $message }}

@enderror

Menu display order

๐Ÿ“ฆ

Leave empty for auto-assign, or enter an emoji/icon class

@error('thumbnail')

{{ $message }}

@enderror
@error('banner')

{{ $message }}

@enderror
@endsection