@php($id=property_exists($row, 'id') ? $row->id : '') {{($index+1)}} @php($visible = (App\Services\Logic\Assist::getCurrentRoutePermissions()->canDestroy) ? '' : 'hidden') @if(empty($id)) @else @endif