@foreach($categories as $key=> $row) {{--
--}} {{ $row->name }} @if($routeName != 'categories') {{ $row->parent->currentDescription->name ?? "" }} @endif {{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} @endforeach @if( count( $categories ) && $categories->hasPages() ) {{ $categories->links('pagination::bootstrap-5') }} @endif