id)) action="{{ route('userswithRolesnew.update', ['id' => $user->id]) }}" @else action="{{ route('userswithRolesnew.store') }}" @endif > @php $reqsub = isset($user->id) ? $user->pos_id : 0; $rdesig = isset($user->id) ? $user->designation_id : 0; $rdepart = isset($user->id) ? $user->department_id : 0; @endphp @csrf @isset($user->id) {{ method_field('PUT') }} @endisset
Basic Details

{{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
id) ? '' : 'required'}} value="" minlength="8" maxlength="16"> {{ !empty($user->id) ? 'Enter password only if you want to modify it for user.' : ''}} {{ empty($user->id) ? 'Enter password of length 8 to 16 characters.' : ''}}
--}}
Current Password : {{ !empty($user->id) ? $user->password_view : '' }} id) ? '' : 'required'}} value="{{ !empty($user->id) ? $user->password_view : '' }}" autocomplete="off"> {{ !empty($user->id) ? 'Enter password only if you want to modify it for user.' : ''}} {{ empty($user->id) ? 'Enter password of length 8 to 16 characters.' : ''}}
{{--
Permissions
Modules Actions
--}} {{-- @foreach($moduleListing as $key => $menuItems) @foreach($menuItems as $menuItemList) @foreach($menuItemList['children'] as $menu) @endforeach @endforeach @endforeach
{{ $key }} {{ $menuItemList['label'] }} @php $allChecked = []; if(!empty($permissions)): foreach($menuItemList['children'] as $menu): if(in_array($menu['route'], $permissions)) { $allChecked[] = $menu['route']; } if(in_array($menu['route'], $permissions)) { $allChecked[] = $menu['route']; } endforeach; $allC = sizeof($menuItemList['children']) == sizeof($allChecked) ? true : false; else: $allC = false; endif; @endphp @if($allC == true) @else @endif
--}}
Cancel
@section('extraJs') @endsection