@extends('layouts.app') @section('title') {{ __('messages.user.new_user') }} @endsection @section('page_css') {{-- --}} @endsection @section('header_toolbar')
{{Form::hidden('userCurrentLanguage',getLoggedInUser()->language,['class'=>'userCurrentLanguage'])}}

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors')
{{Form::hidden('user_url',route('users.index'),['id'=>'createUserUrl'])}} {{Form::hidden('utilsScript',asset('assets/js/int-tel/js/utils.min.js'),['class'=>'utilsScript'])}} {{Form::hidden('phoneNo',old('prefix_code').old('phone'),['class'=>'phoneNo'])}} {{Form::hidden('defaultAvatarImageUrl',asset('assets/img/avatar.png'),['class'=>'defaultAvatarImageUrl'])}} {{Form::hidden('isEdit',false,['class'=>'isEdit'])}} {{Form::hidden('downloadDocument_url',url('visitor-download'),['id'=>'userDownloadDocumentUrl'])}} {{Form::hidden('doctorRole',array_search('Doctor', $role),['id'=>'userDoctorRole'])}} {{ Form::open(['route' => ['users.index'], 'method'=>'post', 'files' => true, 'id' => 'createUserForm']) }} @include('users.fields') {{ Form::close() }}
@endsection {{--let userUrl = "{{ route('users.index') }}";--}} {{--let downloadDocumentUrl = "{{ url('visitor-download') }}";--}} {{--let utilsScript = "{{asset('assets/js/int-tel/js/utils.min.js')}}";--}} {{--let defaultAvatarImageUrl = "{{ asset('assets/img/avatar.png') }}";--}} {{--let phoneNo = "{{ old('prefix_code').old('phone') }}";--}} {{--let isEdit = false;--}} {{--let doctorRole = "{{ array_search('Doctor', $role) }}";--}} {{-- --}} {{-- --}}