@if (session('success'))
{{ session('success') }}
@endif
@if (session('warning'))
{{ session('warning') }}
@endif
@if ($errors->any())
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
| Nama |
Status |
Ability |
Terakhir Dipakai |
Dibuat |
Aksi |
@forelse ($apiClients as $client)
| {{ $client->name }} |
{{ $client->is_active ? 'Aktif' : 'Nonaktif' }}
|
@forelse ($client->abilities as $ability)
{{ $ability->ability }}
@empty
Belum ada ability
@endforelse
|
{{ $client->last_used_at?->format('d-m-Y H:i') ?? 'Belum pernah' }} |
{{ $client->created_at->format('d-m-Y H:i') }} |
@can('read api-client')
@endcan
@can('update api-client')
@endcan
@can('delete api-client')
@endcan
|
@can('update api-client')
@endcan
@empty
| Belum ada API client. |
@endforelse
{{ $apiClients->links() }}