@extends('admin.layouts.app') @section('title', __('Categories Management')) @section('breadcrumb')
{{ __('Manage product categories with multilingual support') }}
| {{ __('Image') }} | {{ __('Category') }} | {{ __('Code') }} | {{ __('Products') }} | {{ __('Status') }} | {{ __('Order') }} | {{ __('Created') }} | {{ __('Actions') }} | |
|---|---|---|---|---|---|---|---|---|
| 
                                    @if($category->image)
                                         | 
                                
                                    @if($category->parent) {{ $category->parent->name }} / @endif {{ $category->name }}@if($category->description) {{ Str::limit($category->description, 50) }} @endif | 
                                
                                    {{ $category->code }}
                                 | 
                                {{ $category->products->count() }} {{ __('products') }} | {{ $category->is_active ? __('Active') : __('Inactive') }} | {{ $category->sort_order }} | {{ $category->created_at->format('M d, Y') }} | ||
| 
                                            @if($child->image)
                                                 | 
                                        
                                            {{ $child->name }}@if($child->description) {{ Str::limit($child->description, 50) }} @endif | 
                                        
                                            {{ $child->code }}
                                         | 
                                        {{ $child->products->count() }} {{ __('products') }} | {{ $child->is_active ? __('Active') : __('Inactive') }} | {{ $child->sort_order }} | {{ $child->created_at->format('M d, Y') }} | 
{{ __('Start by creating your first category') }}
{{ __('Create Category') }}