@extends('layouts.admin') @section('styles') @endsection @section('content') @php $mode = isset($mode)?$mode:"Add"; $is_ip_auth_cls = $mobile_email_cls = 'd-none'; $checked_is_ip_auth = $checked_mobile_email_auth = ''; @endphp @if($mode == 'Update') @if(isset($userData['is_ip_auth']) && $userData['is_ip_auth'] == 1 ) //ip auth @php $is_ip_auth_cls = ''; $checked_is_ip_auth = 'checked'; @endphp @else @php $is_ip_auth_cls = 'd-none'; $checked_is_ip_auth = ''; @endphp @endif @if(isset($userData['is_mobile_auth']) && $userData['is_mobile_auth'] == 1 ) //mobile email auth @php $mobile_email_cls = ''; $checked_mobile_email_auth = 'checked'; @endphp @else @php $mobile_email_cls = 'd-none'; $checked_mobile_email_auth = ''; @endphp @endif @endif @php $temp_country_code = (isset($userData['country_code'])?$userData['country_code']:''); @endphp

User{{(isset($userData['first_name'])?' - '.reduceTitleName($userData['first_name']):'')}}{{(isset($userData['last_name'])?' '.$userData['last_name']:'')}}

@if($mode == 'Update') @if (per_hasModuleAccess('Users', 'View')) @endif @if(per_hasModuleAccess('Users', 'Delete')) @endif @endif
You have some form errors. Please check below.
Your form validation is successful!

Personal Info

{{ $errors->first('first_name') }}
{{ $errors->first('last_name') }}
email
{{ $errors->first('email') }}
{{ $errors->first('mobile') }}
{{ $errors->first('image') }}
@if(isset($mode) && $mode == 'Update') @if(isset($userImage['img_url']) && $userImage['img_url'] != '')
@endif @endif
@if(isset($img_ext_array) && !empty($img_ext_array))

[ Valid extentions: {{!empty($img_ext_array)?$img_ext_array:''}}]

@endif
@php $grp_exp = array(); @endphp @if (isset($userData['access_group_id_arr']) && $userData['access_group_id_arr'] != "") @php $grp_exp = array_filter(explode(',', $userData['access_group_id_arr'])); @endphp @endif
@if($mode == 'Update')
{{ isset($userData['tot_login']) && $userData['tot_login'] != "" ? $userData['tot_login'] : '0' }}
{{ isset($userData['created_at']) && $userData['created_at'] != "" ? date('d-m-Y H:i:s',strtotime($userData['created_at'])) : '--' }}
{{ isset($userData['updated_at']) && $userData['updated_at'] != "" ? date('d-m-Y H:i:s',strtotime($userData['updated_at'])) : '--' }}
{{ isset($userData['last_access']) && $userData['last_access'] != "" ? date('d-m-Y H:i:s',strtotime($userData['last_access'])) : '--' }}
@endif

Address

{{ $errors->first('country_code') }}
{{ $errors->first('state_code') }}
{{ $errors->first('city_code') }}
{{ $errors->first('area') }}
{{ $errors->first('zip') }}
{{ $errors->first('address') }}

Login Information

@if(isset($mode) && $mode == 'Update') @if(Auth::guard('admin')->user()->id == $userData['id']) {{ isset($userData['username']) ? $userData['username'] : '--' }} @else @endif @elseif(isset($mode) && $mode == 'Add') @endif {{ $errors->first('username') }}
@if(isset($mode) && $mode == 'Update')
[Enter at least one uppercase letter, one lowercase letter, one number and one special character for password.Minimum {{config('constants.PASSWORD_MIN')}} character and maximum {{config('constants.PASSWORD_MAX')}} character for password.]
@else
{{ $errors->first('password') }}
[Enter at least one uppercase letter, one lowercase letter, one number and one special character for password.Minimum {{config('constants.PASSWORD_MIN')}} character and maximum {{config('constants.PASSWORD_MAX')}} character for password.]
@endif

Admin Security

@endsection @section('scripts') @endsection