@extends('admin.layouts.app') @section('title', 'Rollar') @section('page-title', 'Rollar') @section('content')
Jami {{ $roles->count() }} ta rol
Yangi rol| # | Nomi | Ruxsatlar | Foydalanuvchilar | Amallar |
|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $role->name }} |
@if($role->permissions->count())
@foreach($role->permissions->take(3) as $permission)
{{ $permission->name }}
@endforeach
@if($role->permissions->count() > 3)
+{{ $role->permissions->count() - 3 }} ta
@endif
@else
Ruxsatlar yo'q
@endif
|
{{ $role->users_count }} ta | Tahrirlash |
| Rollar mavjud emas | ||||
"" rolini o'chirmoqchimisiz?