@php $presets = ['#124a61', '#f59e0b', '#10b981', '#0ea5e9', '#a855f7', '#ec4899', '#14b8a6', '#f43f5e', '#64748b', '#eab308']; @endphp
{{ __('Back to Products') }} @if ($canManage) {{ __('New Category') }} @endif
@forelse ($categories as $category) @empty @endforelse
{{ __('Category') }} {{ __('Products') }} {{ __('Status') }} {{ __('Actions') }}
{{ $category->name }}
{{ $category->products_count }} {{ $category->is_active ? __('Active') : __('Inactive') }}
@if ($canManage) @endif @if ($canDelete) @endif
@if ($canManage) {{ __('New Category') }} @endif
@if ($categories->hasPages())
{{ $categories->links() }}
@endif
{{ $editingId ? __('Edit Category') : __('New Category') }}
@foreach ($presets as $preset) @endforeach
{{ __('Cancel') }} {{ __('Save') }}