| م | {{ __('messages.NAME') }} | {{ __('messages.EMAIL') }} | الصلاحيات | {{-- @ability(['admin','super_admin'],['']) --}}{{ __('messages.STATUS') }} | {{-- @endability --}}{{ __('messages.PUBLISHED_DATE') }} | {{ __('messages.CONTROL') }} |
|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $usr->name }} | {{ $usr->email }} |
@foreach ($usr->roles()->get() as $role)
@if ($role->id==1)
{!! $role->display_name.' ' !!} @else @if ($role->id==3) {!! $role->display_name.' ' !!} @foreach ($usr->permissions()->get() as $permission) -- {!! $permission->display_name.' ' !!} @endforeach @else @if ($role->id==2) {!! $role->display_name.' ' !!} @else {!! $role->display_name.' ' !!} @endif @endif @endif @endforeach |
{{-- @ability(['admin','super_admin'],['']) --}}
{{-- @endability --}} | {{ $usr->created_at }} | {{-- @ability(['publisher','admin','super_admin'],['']) --}} {{-- @endability --}} |