<div class="app-header bg-header-1">
    <div class="layout-fixed full-h text-center">
        <div class="full-h v-bottom-i pdB15">
            <div class="app-content-header bg-header-1">
                <div class="text-title-header-1 nowrap mgT10">New employee</div>
            </div>
        </div>
    </div>
    <button class="popup-close-button bg-transparent pd0-i biger-3-time" type="button" ng-click="closeTarget('#popupEmployeeAdd')"></button>
</div>
<form id="formAddUser" name="formAddUser" class="app-content" ng-submit="validateForm(formAddUser,file,'Add')" novalidate="">
    <div class="app-content-inner content-pd">
        <button id="submitFormAddUser" class="hidden" type="submit">Submit</button>
        <ion-scroll class="scroll-area" direction="y" has-bouncing="false" overflow-scroll="false" delegate-handle="scrollAdd" on-scroll="scrollContent('scrollAdd')">
            <div class="box-setting-4 form-field-container no-saperator" id="contactInfo">
                <div class="title">Contact Information</div>
                <div class="content content-in">
                    <div class="itm">
                        <div class="layout-fixed input-1-group">
                            <div>
                                <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.first_name.$invalid  }">First name</label>
                                <div class="layout-fixed">
                                    <div>
                                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.first_name.$invalid  }" ng-click="focusHandle($event)">
                                            <input type="text" class="h32px" id="first_name" name="first_name" ng-model="addUsersData.first_name" placeholder="" required="" value="" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <label class="label-form-field-1">Middle name</label>
                                <div class="layout-fixed">
                                    <div>
                                        <div class="input-form-field-1" ng-click="focusHandle($event)">
                                            <input type="text" class="h32px" id="middle_name" name="middle_name" ng-model="addUsersData.middle_name" placeholder="" value="" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.last_name.$invalid  }">Last name</label>
                                <div class="layout-fixed">
                                    <div>
                                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.last_name.$invalid  }" ng-click="focusHandle($event)">
                                            <input type="text" class="h32px" id="last_name" name="last_name" ng-model="addUsersData.last_name" placeholder="" required="" value="" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <div class="layout-fixed input-1-group">
                            <div>
                                <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.nick_name.$invalid  }">Nick name</label>
                                <div class="layout-fixed">
                                    <div>
                                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.nick_name.$invalid  }" ng-click="focusHandle($event)">
                                            <input type="text" class="h32px" id="nick_name" name="nick_name" ng-model="addUsersData.nick_name" placeholder="" required="" value="" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.display_name.$invalid  }">Display name</label>
                                <div class="layout-fixed">
                                    <div>
                                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.display_name.$invalid  }" ng-click="focusHandle($event)">
                                            <input type="text" class="h32px" id="display_name" name="display_name" ng-model="addUsersData.display_name" placeholder="" required="" value="" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <div class="layout-fixed input-1-group">
                            <div>
                                <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.cell_phone.$invalid  }">Cell phone</label>
                                <div class="layout-fixed">
                                    <div>
                                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.cell_phone.$invalid  }" ng-click="focusHandle($event)">
                                            <input type="text" class="h32px" id="cell_phone" name="cell_phone" ng-model="addUsersData.cell_phone" pattern=".{10,20}" phone-input="" placeholder="" required="" value="" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.office_phone.$invalid  }">Office phone</label>
                                <div class="layout-fixed">
                                    <div>
                                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.office_phone.$invalid  }" ng-click="focusHandle($event)">
                                            <input type="text" class="h32px" id="office_phone" name="office_phone" ng-model="addUsersData.office_phone" pattern=".{10,20}" phone-input="" placeholder="" value="" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <label class="label-form-field-1">Extension phone</label>
                                <div class="layout-fixed">
                                    <div>
                                        <div class="input-form-field-1" ng-click="focusHandle($event)">
                                            <input type="text" class="h32px" name="extension_phone" ng-model="addUsersData.extension_phone" pattern="^[0-9][0-9]{0,14}$" placeholder="">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.email.$invalid  }">Email</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.email.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="email" class="h32px" id="email" name="email" ng-model="addUsersData.email" placeholder="" required="">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.addressAddEmployeee.$invalid  }">Address</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.addressAddEmployeee.$invalid  }" ng-click="focusHandle($event)">
                                    <!-- <ion-google-place getplace="true" id="addressAddEmployeee" location-changed="locationChangedCreate" name="addressAddEmployeee" ng-model="addUsersData.street" placeholder="" required="" style="padding: 0px;border-width: 0px;"></ion-google-place> -->
                                    <tags-input ng-model="holdValueAddress.addUserAddress"
                                    add-on-paste="true"
                                    display-property="description"
                                    key-property="place_id"
                                    on-tag-adding="selectAddress($tag,'adduser')"
                                    enable-editing-last-tag="true"
                                    max-tags="1"
                                    min-tags="1"
                                    on-tag-removed="removetag($tag,'adduser')">
                                    <auto-complete load-on-empty="true" source="loadAddress($query)"></auto-complete>
                                </tags-input>
                            </div>
                        </div>
                    </div>
                    <input type="hidden" ng-model="addUsersData.street" id="addressAddEmployeee" name="addressAddEmployeee" required />
                </div>
                <div class="itm">
                    <div class="layout-fixed input-1-group">
                        <div class="layout-w-1:2">
                            <label class="label-form-field-1">City</label>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-click="focusHandle($event)">
                                        <input type="text" class="locality h32px" id="city" name="city" ng-model="addUsersData.city" placeholder="">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div>
                            <label class="label-form-field-1">State</label>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-click="focusHandle($event)">
                                        <input type="text" class="administrative_area_level_1 h32px" id="state" name="state" ng-model="addUsersData.state" placeholder="">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div>
                            <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.zipcode.$invalid  }">Zip code</label>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.zipcode.$invalid  }" ng-click="focusHandle($event)">
                                        <input type="text" class="postal_code h32px" id="zipcode" name="zipcode" ng-model="addUsersData.zipcode" numbers-only="numbers-only" placeholder="" required="">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.emergency_contact.$invalid  }">Emergency contact/ Relation/ Phone #</label>
                    <div class="layout-fixed">
                        <div>
                            <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.emergency_contact.$invalid  }" ng-click="focusHandle($event)">
                                <input type="text" class="h32px" id="emergency_contact" name="emergency_contact" ng-model="addUsersData.emergency_contact" placeholder="" required="">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1" ng-class="{ 'has-errors' : imageURI == ''}">Profile picture</label>
                    <div class="layout-fixed">
                        <div>
                            <div class="input-form-field-1 non-select" ng-class="{ 'has-errors' : imageURI == ''}" ng-click="focusHandle($event)">
                                <div class="w60px h60px relative obove">
                                    <img class="full" ng-src="{{imageURI}}" />
                                </div>
                                <div class="sign-r clear">
                                    <button class="bg-transparent full-h right pdR10" type="button" ng-click="openPickerForProfile()">
                                        <svg class="h20px" viewBox="0 0 280.028 280.028"> <g> <path style="fill:#016A87;" d="M201.27,35.004h35.003c4.839,0,8.751,3.92,8.751,8.751v8.751h-52.505v-8.751   C192.519,38.925,196.43,35.004,201.27,35.004z" /> <path style="fill:#2C9AB9;" d="M17.502,52.506h245.024c9.661,0,17.502,7.841,17.502,17.502v140.014   c0,9.661-7.841,17.502-17.502,17.502H17.502C7.841,227.523,0,219.682,0,210.022V70.008C0,60.347,7.841,52.506,17.502,52.506z" /> <path style="fill:#FFF;" d="M122.512,35.004c57.992,0,105.01,47.018,105.01,105.01s-47.018,105.01-105.01,105.01   s-105.01-47.018-105.01-105.01S64.52,35.004,122.512,35.004z" /> <path style="fill:#016A87;" d="M122.512,61.257c43.5,0,78.758,35.257,78.758,78.758c0,43.492-35.257,78.758-78.758,78.758   s-78.758-35.257-78.758-78.758C43.754,96.523,79.011,61.257,122.512,61.257z" /> <path style="fill:#2B414D;" d="M122.512,87.51c29,0,52.505,23.514,52.505,52.505s-23.505,52.505-52.505,52.505   c-28.992,0-52.505-23.522-52.505-52.505S93.52,87.51,122.512,87.51z" /> <path style="fill:#FFFFFF;" d="M144.389,105.011c7.246,0,13.126,5.881,13.126,13.126c0,7.254-5.881,13.126-13.126,13.126   s-13.126-5.872-13.126-13.126S137.143,105.011,144.389,105.011z" /> <path style="fill:#FFFFFF;" d="M249.399,70.008c7.246,0,13.126,5.872,13.126,13.126s-5.881,13.126-13.126,13.126   c-7.246,0-13.126-5.872-13.126-13.126C236.273,75.88,242.154,70.008,249.399,70.008z" /> <g> <rect x="201.27" y="35.004" style="fill:#016A87;" width="8.751" height="17.502" /> <rect x="218.771" y="35.004" style="fill:#016A87;" width="8.751" height="17.502" /> <path style="fill:#016A87;" d="M236.273,35.004v17.502h8.751v-8.751C245.024,38.925,241.112,35.004,236.273,35.004z" /> </g> </g> </svg>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="box-setting-4 form-field-container no-saperator" id="jobInfo">
            <div class="title">Job Information</div>
            <div class="content content-in">
                <div class="itm">
                    <div class="layout-fixed input-1-group">
                        <div>
                            <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.department.$invalid  }">Department</label>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.department.$invalid  }" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px" id="department" placeholder="" value="{{Input_value.department}}">
                                        <div class="sign-r clear">
                                            <button class="bg-transparent full-h right pdR10" type="button">
                                                <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                            </button>
                                        </div>
                                        <select class="field-overlay" name="department" ng-change="getDepartmentsGroup(addUsersData.department_id)" ng-model="addUsersData.department_id" required="">
                                            <option value="">Select</option>
                                            <option ng-repeat="item in departments" value="{{item.id}}">{{item.name}}</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div>
                            <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.department_group.$invalid  }">Department group</label>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.department_group.$invalid  }" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px" id="department_group" placeholder="" value="{{Input_value.departmentGroup}}">
                                        <div class="sign-r clear">
                                            <button class="bg-transparent full-h right pdR10" type="button">
                                                <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                            </button>
                                        </div>
                                        <select class="field-overlay" name="department_group" ng-change="setValueDepartmentGroupInput(addUsersData.department_group)" ng-model="addUsersData.department_group" required="">
                                            <option value="">Select</option>
                                            <option ng-repeat="item in departmentsGroup" value="{{item.id}}">{{item.name}}</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.positiontitle_id.$invalid  }">Position title</label>
                    <div class="layout-fixed">
                        <div>
                            <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.positiontitle_id.$invalid  }" ng-click="focusHandle($event)">
                                <input type="text" class="h32px" id="positiontitle_id" placeholder="" value="{{Input_value.positiontitle}}">
                                <div class="sign-r clear">
                                    <button class="bg-transparent full-h right pdR10" type="button">
                                        <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                    </button>
                                </div>
                                <select class="field-overlay" name="positiontitle_id" ng-change="populatecurrent_hiredate('add',addUsersData.positiontitle_id)" ng-model="addUsersData.positiontitle_id" required="">
                                    <option value="">Select</option>
                                    <option ng-repeat="item in positiontitles_by_department" value="{{item.id}}">{{item.name}}</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.role_id.$invalid  }">User role</label>
                    <div class="layout-fixed">
                        <div>
                            <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.role_id.$invalid  }" ng-click="focusHandle($event)">
                                <input type="text" class="h32px" id="role_id" placeholder="" value="{{Input_value.role}}">
                                <div class="sign-r clear">
                                    <button class="bg-transparent full-h right pdR10" type="button">
                                        <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                    </button>
                                </div>
                                <select class="field-overlay" name="role_id" ng-change="setValueRoleInput(addUsersData.role_id)" ng-model="addUsersData.role_id" ng-options="item.id as item.name for item in roles" required="">
                                    <option value="">Select</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.supervisor_user1.$invalid  }">Primary supervisor</label>
                    <div class="layout-fixed">
                        <div>
                            <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.supervisor_user1.$invalid  }" ng-click="focusHandle($event)">
                                <input type="text" class="h32px" id="supervisor_user1" placeholder="" value="{{Input_value.supervisor_user1}}">
                                <div class="sign-r clear">
                                    <button class="bg-transparent full-h right pdR10" type="button">
                                        <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                    </button>
                                </div>
                                <select class="field-overlay" name="supervisor_user1" ng-change="setValueSuperVisor1Input(addUsersData.supervisor_user1)" ng-model="addUsersData.supervisor_user1" ng-options="item.id as item.nameWithpos for item in usersVisor" required="" ng-disabled="disabledSupSelect">
                                    <option value="">Select</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.supervisor_user2.$invalid  }">Secondary supervisor:</label>
                    <div class="layout-fixed">
                        <div>
                            <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.supervisor_user2.$invalid  }" ng-click="focusHandle($event)">
                                <input type="text" class="h32px" id="supervisor_user2" placeholder="" value="{{Input_value.supervisor_user2}}">
                                <div class="sign-r clear">
                                    <button class="bg-transparent full-h right pdR10" type="button">
                                        <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                    </button>
                                </div>
                                <select class="field-overlay" name="supervisor_user2" ng-change="setValueSuperVisor2Input(addUsersData.supervisor_user2)" ng-model="addUsersData.supervisor_user2" ng-options="item.id as item.nameWithpos for item in usersVisor" required="" ng-disabled="disabledSupSelect">
                                    <option value="">Select</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.startlocationAddEmployeee.$invalid  }">Starting location</label>
                    <div class="layout-fixed">
                        <div>
                            <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.startlocationAddEmployeee.$invalid  }" ng-click="focusHandle($event)">
                                <!-- <ion-google-place id="startlocationAddEmployeee" name="startlocationAddEmployeee" ng-model="addUsersData.start_location" placeholder="" required="" style="padding: 0px;border-width: 0px;"></ion-google-place> -->
                                <tags-input ng-model="holdValueAddress.addUserStarLocation"
                                add-on-paste="true"
                                display-property="description"
                                key-property="place_id"
                                on-tag-adding="selectAddress($tag,'adduserstarlocation')"
                                enable-editing-last-tag="true"
                                max-tags="1"
                                min-tags="1"
                                on-tag-removed="removetag($tag,'adduserstarlocation')">
                                <auto-complete load-on-empty="true" source="loadAddress($query)"></auto-complete>
                            </tags-input>
                        </div>
                    </div>
                </div>
                <input type="hidden" ng-model="addUsersData.start_location" id="startlocationAddEmployeee" name="startlocationAddEmployeee" required />
            </div>
            <div class="itm">
                <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.driverornot.$invalid  }">Has RGD Vehicle Permissions ?</label>
                <div class="layout-fixed">
                    <div>
                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.driverornot.$invalid  }" ng-click="focusHandle($event)">
                            <input type="text" class="h32px" placeholder="" value="{{Input_value.driverornot}}" ng-init="Input_value.driverornot ='Select'">
                            <div class="sign-r clear">
                                <button class="bg-transparent full-h right pdR10" type="button">
                                    <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                </button>
                            </div>
                            <select class="field-overlay" name="driverornot" ng-change="setValueDriverornot(addUsersData.driverornot)" ng-model="addUsersData.driverornot" required="" ng-options="item.id as item.name for item in driverOrNotSelect">
                                <option value="">Select</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div class="itm" ng-show="addUsersData.driverornot == 1">
                <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.assigned_vehicle.$invalid  }">Assigned vehicle</label>
                <div class="layout-fixed">
                    <div>
                        <div class="input-form-field-1" ng-click="focusHandle($event)">
                            <textarea autocomplete="off"
                            class="ion-autocomplete"
                            ion-autocomplete=""
                            item-value-key="id"
                            item-view-value-key="name"
                            items-clicked-method="clickedMethodVehicles(callback,'add')"
                            items-method="getAutocompleteVehicles(query,false,'add')"
                            items-method-value-key="items"
                            items-removed-method="removeMethodVehicles(callback,'add')"
                            max-selected-items="1"
                            ng-model="autocompleteList.dataUserVehiclesCreate"
                            placeholder=""
                            tyle="width:100%"
                            type="text"></textarea>
                        </div>
                    </div>
                </div>
            </div>
            <div class="itm">
                <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.assignlocationAddEmployeee.$invalid  }">Assigned location</label>
                <div class="layout-fixed">
                    <div>
                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.assignlocationAddEmployeee.$invalid  }" ng-click="focusHandle($event)">
                            <input type="text" class="h32px" placeholder="" value="{{Input_value.assigned_location}}">
                            <div class="sign-r clear">
                                <button class="bg-transparent full-h right pdR10" type="button">
                                    <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                </button>
                            </div>
                            <select class="field-overlay" name="assignlocationAddEmployeee" ng-change="setValueAssignLocation(addUsersData.assigned_location_id)" ng-model="addUsersData.assigned_location_id" ng-options="item.id as item.name for item in assignedLocations" required="">
                                <option value="">Select</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div class="itm">
                <label class="label-form-field-1">Appointment groups</label>
                <div class="layout-fixed">
                    <div>
                        <div class="input-form-field-1" ng-click="focusHandle($event)">
                            <textarea autocomplete="off"
                            class="ion-autocomplete"
                            ion-autocomplete=""
                            item-value-key="id"
                            item-view-value-key="name"
                            items-clicked-method="clickedMethodAppGroup(callback,'add')"
                            items-method="getAppointmentGroup(query,false,'add')"
                            items-method-value-key="items"
                            items-removed-method="removeMethodAppGroup(callback,'add')"
                            max-selected-items="50"
                            ng-model="autocompleteList.dataUserAppointmentGroupsCreate"
                            placeholder=""
                            readonly="readonly" style="width:100%"
                            type="text"
                            external-model="initialAppointmentGroup"
                            model-to-item-method="setValueForAppointmentGroup(modelValue)"></textarea>
                        </div>
                    </div>
                </div>
            </div>
            <div class="itm">
                <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.order_schedule.$invalid  }">Appointment/ Schedule view order</label>
                <div class="layout-fixed">
                    <div>
                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.order_schedule.$invalid  }" ng-click="focusHandle($event)">
                            <input type="number" class="h32px" id="order_schedule" name="order_schedule" ng-model="addUsersData.order_schedule" placeholder="" required="">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="box-setting-4 form-field-container no-saperator" id="skillsInfo">
        <div class="title clear">
            Available Skills
            <span class="text-date-1 clr-black text-none-transform-i right mgT5">{{Input_value.positiontitle}}</span>
        </div>
        <div class="content content-in">
            <div class="itm" ng-if="!addUsersData.positiontitles">
                <div class="layout-fixed">
                    <div class="pdB5">
                        <label class="label-form-field-1 normal">Please choose Position title first !</label>
                    </div>
                </div>
            </div>
            <div class="itm" ng-repeat="item in $parent.listSkill track by $index">
                <div class="layout-fixed">
                    <div class="pdB5">
                        <label class="label-form-field-1 normal">{{item.name}}</label>
                    </div>
                    <div class="w60px clear">
                        <div class="checkedbox-toggle-1 block-i right">
                            <input type="checkbox" id="" name="" value="" ng-model="item.value"><i></i><span></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="box-setting-4 form-field-container" id="hrInfo">
        <div class="title">HR Information</div>
        <div class="content content-in">
            <div class="itm">
                <div class="layout-fixed input-1-group">
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.currentwage.$invalid  }">Current wage</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.currentwage.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="number" class="h32px" id="currentwage" name="currentwage" ng-model="addUsersData.currentwage" placeholder="" required="">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.currentwage_detail_id.$invalid  }">Detail</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.currentwage_detail_id.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" id="currentwage_detail_id" placeholder="" value="{{Input_value.currentwage_detail_name}}">
                                    <div class="sign-r clear">
                                        <button class="bg-transparent full-h right pdR10" type="button">
                                            <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                        </button>
                                    </div>
                                    <select class="field-overlay" name="currentwage_detail_id" ng-change="setValueCurrentWageDetail(addUsersData.currentwage_detail_id)" ng-model="addUsersData.currentwage_detail_id" ng-options="item.id as item.name for item in wagedetails" required="">
                                        <option value="">Select</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="itm">
                <div class="layout-fixed input-1-group">
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.startwage.$invalid  }">Starting wage</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.startwage.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="number" class="h32px" id="startwage" name="startwage" ng-model="addUsersData.startwage" placeholder="" required="" value="">
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.startwage_detail.$invalid  }">Detail</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.startwage_detail.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" id="startwage_detail" value="{{addUsersData.startwage_detail}}" placeholder="">
                                    <div class="sign-r clear">
                                        <button class="bg-transparent full-h right pdR10" type="button">
                                            <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                        </button>
                                    </div>
                                    <select class="field-overlay" name="startwage_detail" ng-model="addUsersData.startwage_detail" required="">
                                        <option value="">Select</option>
                                        <option value="Hourly">Hourly</option>
                                        <option value="Biweekly Salary">Biweekly Salary</option>
                                        <option value="Other">Other</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div> -->
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.startwage_detail_id.$invalid  }">Detail</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.startwage_detail_id.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" id="startwage_detail_id" placeholder="" value="{{Input_value.startwage_detail_name}}">
                                    <div class="sign-r clear">
                                        <button class="bg-transparent full-h right pdR10" type="button">
                                            <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                        </button>
                                    </div>
                                    <select class="field-overlay" name="startwage_detail_id" ng-change="setValueStartingWageDetail(addUsersData.startwage_detail_id)" ng-model="addUsersData.startwage_detail_id" ng-options="item.id as item.name for item in wagedetails" required="">
                                        <option value="">Select</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="itm">
                <div class="layout-fixed input-1-group">
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.company_hiredate.$invalid  }">Company hire date</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.company_hiredate.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" name="company_hiredate" placeholder="" value="{{addUsersData.company_hiredate| date: 'MM/dd/yyyy'}}">
                                    <div class="field-overlay datetime" date="" id="company_hiredate" ion-datetime-picker="" name="company_hiredate" ng-model="addUsersData.company_hiredate" required>
                                        {{addUsersData.company_hiredate| date: 'MM/dd/yyyy'}}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.company_startdate.$invalid  }">Start date</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.company_startdate.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" name="company_startdate" placeholder="" value="{{addUsersData.company_startdate| date: 'MM/dd/yyyy'}}">
                                    <div class="field-overlay datetime" date="" id="company_startdate" ion-datetime-picker="" name="company_startdate" ng-model="addUsersData.company_startdate" required="">
                                        {{addUsersData.company_startdate| date: 'MM/dd/yyyy'}}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="itm">
                <div class="layout-fixed input-1-group">
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.current_hiredate.$invalid  }">Current position hire date</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.current_hiredate.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" name="current_hiredate" placeholder="" value="{{addUsersData.current_hiredate| date: 'MM/dd/yyyy'}}">
                                    <div class="field-overlay datetime" date="" id="current_hiredate" ion-datetime-picker="" name="current_hiredate" ng-model="addUsersData.current_hiredate" required="">
                                        {{addUsersData.current_hiredate| date: 'MM/dd/yyyy'}}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.current_startdate.$invalid  }">Start date</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.current_startdate.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" name="current_startdate" placeholder="" value=" {{addUsersData.current_startdate| date: 'MM/dd/yyyy'}} ">
                                    <div class="field-overlay datetime" date="" id="current_startdate" ion-datetime-picker="" name="current_startdate" ng-model="addUsersData.current_startdate" required="">
                                        {{addUsersData.current_startdate| date: 'MM/dd/yyyy'}}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="itm">
                <div class="layout-fixed input-1-group">
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.last_review.$invalid  }">Last review</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.last_review.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" name="last_review" placeholder="" value="{{addUsersData.last_review| date: 'MM/dd/yyyy'}}">
                                    <div class="field-overlay datetime" date="" id="last_review" ion-datetime-picker="" name="last_review" ng-model="addUsersData.last_review" required="">
                                        {{addUsersData.last_review| date: 'MM/dd/yyyy'}}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.next_review.$invalid  }">Next review</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.next_review.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" name="next_review" placeholder="" value="{{addUsersData.next_review| date: 'MM/dd/yyyy'}}">
                                    <div class="field-overlay datetime" date="" id="next_review" ion-datetime-picker="" name="next_review" ng-model="addUsersData.next_review" required>
                                        {{addUsersData.next_review| date: 'MM/dd/yyyy'}}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.last_raise.$invalid  }">Last raise</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.last_raise.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" name="last_raise" placeholder="" value="{{addUsersData.last_raise| date: 'MM/dd/yyyy'}}">
                                    <div class="field-overlay datetime" date="" id="last_raise" ion-datetime-picker="" name="last_raise" ng-model="addUsersData.last_raise" required="">
                                        {{addUsersData.last_raise| date: 'MM/dd/yyyy'}}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="itm">
                <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.bio.$invalid  }">Employee bio</label>
                <div class="layout-fixed">
                    <div>
                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.bio.$invalid  }" ng-click="focusHandle($event)">
                            <input type="text" class="h32px" id="bio" name="bio" ng-model="addUsersData.bio" placeholder="" required="" value="">
                        </div>
                    </div>
                </div>
            </div>
            <div class="itm">
                <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.notes.$invalid  }">Employee notes</label>
                <div class="layout-fixed">
                    <div>
                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.notes.$invalid  }" ng-click="focusHandle($event)">
                            <textarea class="h65px" id="notes" name="notes" ng-model="addUsersData.notes" placeholder="" required=""></textarea>
                        </div>
                    </div>
                </div>
            </div>
            <div class="itm">
                <div class="layout-fixed input-1-group">
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.driver_license.$invalid  }">Driver's license #</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.driver_license.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" id="driver_license" name="driver_license" ng-model="addUsersData.driver_license" placeholder="" required="">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div>
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.usertype_id.$invalid  }">User type</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.usertype_id.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" id="usertype_id" placeholder="" value="{{Input_value.usertype}}">
                                    <div class="sign-r clear">
                                        <button class="bg-transparent full-h right pdR10" type="button">
                                            <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                        </button>
                                    </div>
                                    <select class="field-overlay" name="usertype_id" ng-change="setValueUserType(addUsersData.usertype_id)" ng-model="addUsersData.usertype_id" required="">
                                        <option value="">Select</option>
                                        <option ng-repeat="item in usertypes" value="{{item.id}}">{{item.name}}</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.dob.$invalid  }">DOB</label>
                    <div class="layout-fixed">
                        <div>
                            <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.dob.$invalid  }" ng-click="focusHandle($event)">
                                <input type="text" class="h32px" name="dob" placeholder="" value="{{addUsersData.dob| date: 'MM/dd/yyyy'}}">
                                <div class="field-overlay datetime" date="" id="dob" ion-datetime-picker="" name="dob" ng-model="addUsersData.dob" required="">
                                    {{addUsersData.dob| date: 'MM/dd/yyyy'}}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1">Company supplied items</label>
                    <div class="layout-fixed">
                        <div>
                            <div class="input-form-field-1" ng-click="focusHandle($event)">
                                <textarea autocomplete="off"
                                class="ion-autocomplete"
                                ion-autocomplete=""
                                item-value-key="id"
                                item-view-value-key="name"
                                items-clicked-method="clickedMethodSuppliersItem(callback,'add')"
                                items-method="getSuppliersItem(query,false,'add')"
                                items-method-value-key="items"
                                items-removed-method="removeMethodSuppliersItem(callback,'add')"
                                max-selected-items="50"
                                ng-model="autocompleteList.dataUserSuppliersCreate"
                                external-model="initialSuppliersItem"
                                model-to-item-method="setValueForInputSuppliersItem(modelValue)"
                                placeholder="" readonly="readonly" style="width:100%" type="text"></textarea>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1" ng-class="{ 'has-errors' : formAddUser.pushchatroom.$invalid  }">Push job status chat room</label>
                    <div class="layout-fixed">
                        <div>
                            <div class="input-form-field-1" ng-class="{ 'has-errors' : formAddUser.pushchatroom.$invalid  }" ng-click="focusHandle($event)">
                                <input type="text" class="h32px" id="pushchatroom" placeholder="" value="{{Input_value.pushchatroom}}">
                                <div class="sign-r clear">
                                    <button class="bg-transparent full-h right pdR10" type="button">
                                        <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                    </button>
                                </div>
                                <select class="field-overlay" name="pushchatroom" ng-change="setValuePushChatRoomInput(addUsersData.pushchatroom)" ng-model="addUsersData.pushchatroom" ng-options="item.id as item.name for item in roomsall" required="">
                                    <option value="">Select</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1" ng-class="{ 'has-errors' : !addUsersData.color  }">Color <span class="pdL2" style="color: {{addUsersData.color}}">{{addUsersData.color}}</span></label>
                    <div class="layout-fixed relative obove">
                        <div>
                            <div class="input-form-field-1" ng-class="{ 'has-errors' : !addUsersData.color  }" style="background-color: {{addUsersData.color}};" ng-click="focusHandle($event)">
                                <input class="fz0-i" type='text' id="addUsersDataColor" name="addUsersDataColor" required="" readonly color-picker ng-model="addUsersData.color" />
                                <input class="full-w fz0-i" type='text' ng-model="addUsersData.color" style="background-color: {{addUsersData.color}};" ng-change="inputChangeColor(addUsersData.color,'add')" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </ion-scroll>
</div>
</form>
<div class="app-control">
    <div class="layout-fixed full-h pdT2">
        <div class="w42px full-h relative">
            <button class="bg-transparent pd0-i full text-left pdL10-i" type="button" onclick="openQuickOption(this)">
                <svg class="h20px" viewBox="0 0 460.713 460.713"> <g> <rect y="115.356" width="302" height="30" fill="#FFFFFF" /> <polygon points="335.786,202.231 398.25,264.694 460.713,202.232  " fill="#FFFFFF" /> <rect y="315.356" width="302" height="30" fill="#FFFFFF" /> <rect y="215.356" width="302" height="30" fill="#FFFFFF" /> </g> </svg>
            </button>
            <div class="quick-popup box-popup-1 display-bottom-left mgB55" onclick="closeQuickOption(this)">
                <div class="popup-content w140px">
                    <ul class="list-item-03">
                        <li onclick="getElementById('formAddUser').reset()">
                            <div class="layout-fixed">
                                <div class="icon-area">
                                    <svg class="h15px" viewBox="0 0 423.755 423.755"> <path d="M43.84,281.457c-18.585-44.869-18.586-94.29,0-139.159c10.649-25.709,26.678-48.152,46.86-66.135l60.86,60.86V15.099   H29.635l39.88,39.88c-64.293,58.426-88.5,153.2-53.391,237.959c14.167,34.202,37.07,64.159,66.234,86.634   c28.275,21.789,61.873,36.201,97.162,41.677l4.601-29.646C120.778,381.774,68.337,340.597,43.84,281.457z" fill="#FFFFFF" /> <path d="M407.516,292.938c21.652-52.272,21.652-109.848,0-162.12c-14.167-34.202-37.071-64.159-66.234-86.633   C313.007,22.395,279.409,7.983,244.12,2.507l-4.601,29.646c63.342,9.829,115.783,51.005,140.28,110.146   c18.586,44.869,18.586,94.29,0,139.159c-10.649,25.709-26.678,48.152-46.859,66.135l-60.86-60.86v121.924h121.924l-39.801-39.801   C377.118,348.099,395.334,322.348,407.516,292.938z" fill="#FFFFFF" /> </svg>
                                </div>
                                <div class="name-area text-link-1">
                                    Clear all
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="popup-overlay"></div>
            </div>
        </div>
        <div class="full-h">
            <button class="button-form-field-1 darkgray position-left full" type="button" ng-click="closeTarget('#popupEmployeeAdd');">
                Cancel
            </button>
        </div>
        <div class="full-h">
            <button class="button-form-field-1 position-right full" type="button" onclick="getElementById('submitFormAddUser').click()">
                <svg class="icon h14px" viewBox="0 0 28.91 28.91"> <path style="fill:#030104;" d="M4.594,11.533c0,0-3.091,12.141-4.2,16.889l5.937-8.125c-0.539-1.199-0.214-3.018,0.729-4.049   c1.266-1.383,3.52-1.383,4.904-0.117s1.479,3.414,0.213,4.797c-0.959,1.053-2.733,1.477-3.989,1.008L0.771,28.91l15.646-6.059   l6.287-9.42l-8.229-7.705L4.594,11.533z" /> <polygon style="fill:#030104;" points="20.669,0 16.153,4.193 24.241,11.988 28.515,7.555  " /> </svg>
                Create
            </button>
        </div>
    </div>
</div>