@extends('operations.layout.mainlayout') @section('content')

Role Information

Role Information

Role Name

Role Name -Arabic-

OTP Authentication Settings
ENABLE_OTP_SMS) && $role->ENABLE_OTP_SMS) checked @endif> Require SMS OTP for users with this role
ENABLE_OTP_EMAIL) && $role->ENABLE_OTP_EMAIL) checked @endif> Require Email OTP for users with this role
Role Permissions
@php Tree($groupOfParents, $role,$profile); @endphp @php function Tree($elements, $role,$profile = null) { foreach ($elements as $element) { if ($element->text == 'Simple Booking' && empty($profile->ENABLE_SIMPLE_BOOKING)) continue; @endphp @if($element->GROUP_PARENT == null)
@endif
@if($element->GROUP_PARENT == null)
{{$element->text}}
@else {{$element->text}} @endif @php if ($element->permission->count() > 0) { echo "
    "; foreach ($element->permission as $permission) { if(isset($role->ID) && in_array($role->ID, $permission->role->pluck('ROLE_ID')->toArray())) echo '
    '.$permission->P_NOTE.''; else echo '
    '.$permission->P_NOTE.''; } echo "
"; } @endphp
    @php if ($element->inc()->count() > 0) { Tree($element->inc, $role, $profile); } @endphp
@if($element->GROUP_PARENT == null)
@endif @php } } @endphp
@if((isset($role->NAME) && $role->PROFILE_ID!=null) or (isset($role['is_clone']) && $role['is_clone']==true) or (isset($role['is_new']) && $role['is_new']==true) )
@endif
@endsection @section('warehouse_scripts') @endsection