@extends('layouts.hope.page') @section('title', $title) @section('content_header') @stop @section('content')
@csrf
Name :

{{$user->name}}

Username :

{{$user->username}}

Role :
@foreach ($permissions as $key => $features) @php $curr_access_by_group = array_intersect(collect($features)->pluck('id')->toArray(), $user_has_permission_ids); @endphp @foreach ($features as $name => $control) @endforeach @endforeach
Inheritance from Role
Custom
Current Access
Custom
Custom Access
{{ucwords($key)}} All
{{ $control['name'] }} @if (in_array($control->id, $curr_access_by_group)) @else @endif id, $curr_access_by_group)) checked @endif class="form-check-input {{$key}}-group" type="checkbox" id="perm-check-{{$control->id}}" name="permission_input[]" value="{{$control->name}}">
@slot('footer')
@endslot
@stop @section('plugins.Select2', true) @section('plugins.Datatables', true) @section('js') @include('components.helper.form-control', [ 'reload' => true, 'actionForm' => route($this_helper."update-access", $user->id), ]) @stop