VOTC, Inc.

Company Overview

  • Founded Date October 19, 2020
  • Posted Jobs 0
  • Viewed 508
  • Categories Substance Use Disorder

Company Description

VOTC, Inc. dba Visions Of The Cross, operates faith-based, state licensed and certified substance use residential and outpatient treatment programs for men, women, and women with children and recovery residences in Redding, CA. We believe each human being has been intentionally created with a purpose in life and deserves every opportunity to discover and fulfill that purpose. Our philosophy is based on empowering our clients with our uniquely designed education and counseling programs that meet their individual needs; bringing lasting healing and restoration to their lives. To get to know us better, you are invited to visit our website, www.visionsofthecross.com.

// Initialize Firebase firebase.initializeApp(firebaseConfig); firebase.auth().languageCode = "en"; if (jQuery('#jobsearch_reg_va_fr_otp').length > 0) { window.recaptchaVerifier = new firebase.auth.RecaptchaVerifier('jobsearch_reg_va_fr_otp', { 'size': 'invisible', 'callback': function (response) {}, 'expired-callback': function () {}, 'error-callback': function () {} }); } }); // jQuery('.jobsearch-usereg-otptriger').on('click', function() { var this_btn = jQuery(this); var this_parent_con = this_btn.parents('.jobsearch-sendin-otpcon'); var parent_form = this_btn.parents('form'); var phon_num_field = parent_form.find('input[name="pt_user_phone"]'); var loder_con = this_parent_con.find('.sendin-otp-loder'); var genral_errmsg_con = this_parent_con.find('.sendin-otpcon-errmsg'); genral_errmsg_con.hide(); if (phon_num_field.length > 0) { if (parent_form.find('input[name="dial_code"]').length > 0) { var dial_code_val = parent_form.find('input[name="dial_code"]').val(); var phon_num_val = dial_code_val + phon_num_field.val(); } else { var phon_num_val = phon_num_field.val(); } if (phon_num_val == '') { genral_errmsg_con.html('A valid phone number is required to send OTP.').slideDown(); } else { loder_con.html(''); this_btn.addClass('jobsearch-disable-btn'); var appVerifier = window.recaptchaVerifier; firebase.auth().signInWithPhoneNumber(phon_num_val, appVerifier).then(function (confirmationResult) { //console.log(confirmationResult); window.confirmationResult = confirmationResult; // this_btn.hide(); this_parent_con.find('.jobsearch-fill-otpcon').find('.userfill-otp-msgcon').find('strong').html(phon_num_val); this_parent_con.find('.jobsearch-fill-otpcon').slideDown(); loder_con.html(''); }).catch(function (error) { console.log(error); genral_errmsg_con.html(error.code + ': ' + error.message).slideDown(); loder_con.html(''); this_btn.removeClass('jobsearch-disable-btn'); }); } } else { genral_errmsg_con.html('A valid phone number is required to send OTP.').slideDown(); } }); jQuery('.jobsearch-regotp-checkbtn').on('click', function() { var this_btn = jQuery(this); var this_parent_con = this_btn.parents('.jobsearch-sendin-otpcon'); var genral_errmsg_con = this_parent_con.find('.sendin-otpcon-errmsg'); genral_errmsg_con.hide(); var otp_code = this_parent_con.find('.jobsearch-userfill-otp-field').val(); if (otp_code == '') { genral_errmsg_con.html('Please enter the OTP code first.').slideDown(); } else { jobsearch_phone_otp_check_call(this_btn, confirmationResult, otp_code); } }); function jobsearch_phone_otp_check_call(this_btn, confirmationResult, otp_code) { var this_parent_con = this_btn.parents('.jobsearch-sendin-otpcon'); var genral_errmsg_con = this_parent_con.find('.sendin-otpcon-errmsg'); var loder_con = this_parent_con.find('.cheking-otp-loder'); var parent_form = this_btn.parents('form'); this_btn.addClass('jobsearch-disable-btn'); loder_con.html(''); confirmationResult.confirm(otp_code).then(function (result) { parent_form.find('.regsend-submit-btncon').removeAttr('style'); this_btn.parent('.userfill-otp-btnholdr').hide(); loder_con.html(''); this_parent_con.find('.userfill-otp-msgcon').addClass('alert alert-success'); this_parent_con.find('.userfill-otp-msgcon').find('em').html('You have successfully validated the OTP code. Great job! Now you are authorize to register your account.'); }).catch(function (error) { console.log(error); genral_errmsg_con.html(error.code + ': ' + error.message).slideDown(); loder_con.html(''); this_btn.removeClass('jobsearch-disable-btn'); }); }