@if ($rights->count()) @foreach ($rights as $index => $right) {{-- {{ $index + $rights->firstItem() }} --}} {{ $right->id }} {{ $right->name }} {{ $right->description }} {{-- --}} {{-- --}} @endforeach @endif