@extends('admin.layout.master') @section('open-executive', 'open') @section('menu-executive', 'bg-gradient-to-r from-[#53BF6A] to-[#275931] text-white') @section('menu-executive-role', 'bg-gradient-to-r from-[#53BF6A] to-[#275931] text-white') @section('content')
Executive › Roles
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
{{-- filter --}}
Reset
@can('tambah role') + Tambah Role @endcan
@forelse ($roles as $role) @empty @endforelse
Nama Role Guard Dibuat Aksi
{{ $role->name }} {{ $role->guard_name ?? '-' }} {{ optional($role->created_at)->timezone(config('app.timezone'))->format('d/m/Y H:i') }} @can('edit role') Sunting @endcan @can('hapus role') @can('edit role') | @endcan
@csrf @method('DELETE')
@endcan
Data Tidak Ada
Showing {{ $roles->firstItem() ?? 0 }}–{{ $roles->lastItem() ?? 0 }} of {{ $roles->total() }}
@endsection @section('addJs') @endsection