@extends('dashboard.layouts.main') @section('title', getSiteName() . ' - Dashboard - Product Categories') @section('content')

{{ __('Product Categories') }}

@can('add articles') {{ __('Add New Category') }} @endcan
@if($categories->isNotEmpty()) @can('delete articles') @endcan @foreach($categories as $category) @can('delete articles') @endcan @endforeach
{{ __('Title') }} {{ __('Sort Order') }}{{ __('Delete') }}
{{ $category->getInfo()->title }} {{ $category->sort_order }}
Showing {{ $categories->count() }} of {{ $categories->total() }} categories
@if($categories->hasPages()) {{ $categories->onEachSide(0, 2)->links('dashboard.partials.pagination') }} @endif
@else

{{ __('Categories not found.') }}

@endif
@endsection @section('footer-scripts') @endsection