@php $isExport = $isExport ?? false; $canAction = $canUpdate || $canDelete || $canDetail; @endphp @if ($isExport == false && $canAction) @endif @foreach ($data as $item) @if ($isExport == false && $canAction) @endif @endforeach
# {{ __('Group') }} {{ __('Created At') }} {{ __('Updated At') }}{{ __('Aksi') }}
{{ $loop->iteration }} {{ $item->group_name }} {{ $item->created_at }} {{ $item->updated_at }} @if ($canUpdate) @include('stisla.includes.forms.buttons.btn-edit', ['link' => route($routePrefix . '.edit', [$item->id])]) @endif @if ($canDelete) @include('stisla.includes.forms.buttons.btn-delete', ['link' => route($routePrefix . '.destroy', [$item->id])]) @endif @if ($canDelete) @include('stisla.includes.forms.buttons.btn-detail', ['link' => route($routePrefix . '.destroy', [$item->id])]) @endif