Phoenix House CA

Company Overview

  • Founded Date October 6, 2020
  • Posted Jobs 0
  • Viewed 457
  • Categories Behavioral Health

Company Description

Phoenix House California is dedicated to helping young people, women, and men overcome substance and alcohol abuse to live extraordinary lives in recovery.

 

Since 1979, we have been providing addiction, behavioral health and family services to anyone who needs our help, often offering the only chance of recovery to the underserved and uninsured in our communities.

Each year, over 37,000 people receive our life-saving services through residential and outpatient treatment, recovery support, in-custody substance abuse and mental health services, as well as school-based prevention and mental health programs.

// 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'); }); }