@php $isExport = $isExport ?? false; $canAction = $canUpdate || $canDelete || $canDetail; @endphp
| # | {{ __('Group') }} | {{ __('Created At') }} | {{ __('Updated At') }} | @if ($isExport == false && $canAction){{ __('Aksi') }} | @endif
|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item->group_name }} | {{ $item->created_at }} | {{ $item->updated_at }} | @if ($isExport == false && $canAction)@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 | @endif