@include('admin.Master.header')
@if (Session::has('success'))
{{ Session::get('success') }}
@endif
@forelse($users as $key => $user) @empty @endforelse
# Name Email Roles
{{ $loop->index + 1 }} {{ $user->name }} {{ $user->email }} @if (!empty($user->getRoleNames())) @foreach ($user->getRoleNames() as $v) @endforeach @endif
@can('user-edit') @endcan @if ($user->is_admin != 1) @can('user-delete')
@csrf @method('DELETE')
@endcan @endif
{{ trans('admin.texts.no_data') }}
@include('admin.Master.footer')