View User Role
View User Role
Complete the Details below
List of Permissions
{{ $value->category }} | |||||
---|---|---|---|---|---|
{{ $value->element }} | @foreach($allpermissions->where('element', $element)->all() as $value2) @if($y == 1){{ Form::checkbox('permission[]', $value2->id, in_array($value2->id, $rolePermissions) ? true : false, array('class' => 'name', 'disabled')) }} | @endif @if($y == 2){{ Form::checkbox('permission[]', $value2->id, in_array($value2->id, $rolePermissions) ? true : false, array('class' => 'name', 'disabled')) }} | @endif @if($y == 3){{ Form::checkbox('permission[]', $value2->id, in_array($value2->id, $rolePermissions) ? true : false, array('class' => 'name', 'disabled')) }} | @endif @if($y == 4){{ Form::checkbox('permission[]', $value2->id, in_array($value2->id, $rolePermissions) ? true : false, array('class' => 'name', 'disabled')) }} | @endif @if($y == 5){{ Form::checkbox('permission[]', $value2->id, in_array($value2->id, $rolePermissions) ? true : false, array('class' => 'name', 'disabled')) }} | @endif @endforeach