Category @if (\Auth::user()->role == 1) {{-- --}} Add New @endif
@foreach ($category as $index => $std) @scope('cell_id', $std) {{ $loop->iteration }} @endscope @if ($category && $category->isNotEmpty()) @scope('cell_actions', $category) @if (\Auth::user()->role == 1)
@endif @endscope @else No data available @endif @endforeach
Click 'Confirm' to permanently delete the category.