@extends('layouts.master') @section('title', 'الأدوار والصلاحيات') @section('css') @endsection @section('page-header') @endsection @section('content')
قائمة الأدوار
عرض جميع الأدوار مع الصلاحيات الخاصة بها
@foreach ($roles as $key => $role) @endforeach
# اسم الدور الصلاحيات التحكم
{{ $key + 1 }} {{ $role->name }} @if ($role->permissions->count()) @foreach ($role->permissions as $perm) {{ translate_permission($perm->name) }} @endforeach @else بدون صلاحيات @endif
@csrf @method('DELETE')
@endsection @section('js') @endsection