@extends('admin.layouts.app') @section('content')
@csrf

{{ __('Permission Matrix')}}

@include('admin.message')
@foreach($roles as $role) @endforeach @foreach($permissions_group as $gName=>$permissions) @foreach($roles as $role) @endforeach @if(!empty($permissions)) @foreach($permissions as $permission) @foreach($roles as $role) @endforeach @endforeach @endif @endforeach
{{ __('Role')}}{{ucfirst($role->name)}}
{{ucfirst($gName)}}
{{$permission->name}} id,$selectedIds[$role->id])) checked @endif name="matrix[{{$role->id}}][]" value="{{$permission->id}}">

 
@endsection @section ('script.body') @endsection