Notes for Chubb and templates for Sandata and Cin7. Skuid notes, todos.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
{% if learning_path.new_content_available? %}
|
||||
{% include "learning_path_new_content_banner" %}
|
||||
{% else %}
|
||||
{% include "learning_path_completed_banner" %}
|
||||
{% include "learning_path_completed_banner" %}
|
||||
{% endif %}
|
||||
|
||||
@ -1,4 +1,8 @@
|
||||
<div class="np-learning-path-completed-banner np-learning-path-banner">
|
||||
{% for category in learning_path.categories %}
|
||||
{% if category.name contains "Deep Dive: Core" %}
|
||||
<div class="np-learning-path-completed-banner np-learning-path-banner" style="display: none;">
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<img class="np-learning-path-banner-image" src="https://s3.amazonaws.com/static.northpass.com/images/stars-completed.svg"/>
|
||||
<div class="np-learning-path-banner-content">
|
||||
<h3 class="np-learning-path-banner-headline">{% t .headline %}</h3>
|
||||
|
||||
@ -37,16 +37,18 @@
|
||||
|
||||
{% comment %} <input class="sign-up-follow-up-input" id="oh-input" placeholder="OH Identifier" style="display: none;"/> {% endcomment %}
|
||||
<div id="oh-input" placeholder="OH Identifier" style="display: none;">
|
||||
<div class='oh-button' type="radio" value="ST - OH ODM Agency Provider"
|
||||
<div class='oh-button' type="radio" value="EVV"
|
||||
onclick="validateForm()">Ohio EVV</div>
|
||||
<div class='oh-button' type="radio" value="ST - OH ODM AGENCY PROVIDER ALT EVV"
|
||||
<div class='oh-button' type="radio" value="ALT EVV"
|
||||
onclick="validateForm()">Ohio Alt EVV</div>
|
||||
</div>
|
||||
<div id="ca-input" placeholder="CA Identifier" style="display: none;">
|
||||
<div class='ca-button' type="radio" value="ST - CA CHHS BOTH (PCS & HHCS)"
|
||||
{% comment %} <div class='ca-button' type="radio" value="ST - CA CHHS BOTH (PCS & HHCS)" {% endcomment %}
|
||||
<div class='ca-button' type="radio" value="EVV"
|
||||
onclick="validateForm()">Sandata EVV</div>
|
||||
<div class='ca-button' type="radio" value="ST - CA CHHS JE & ST - CA CHHS STATE"
|
||||
onclick="validateForm()">Sandata ATL EVV Aggregator</div>
|
||||
{% comment %} <div class='ca-button' type="radio" value="ST - CA CHHS JE & ST - CA CHHS STATE" {% endcomment %}
|
||||
<div class='ca-button' type="radio" value="ALT EVV"
|
||||
onclick="validateForm()">Sandata Alt EVV Aggregator</div>
|
||||
</div>
|
||||
<span class="sign-up-follow-up-error-label" id="oh-label">Please select your affiliation</span>
|
||||
|
||||
@ -332,7 +334,7 @@
|
||||
if(fullPropsObj['learner_state'] == 'California'){
|
||||
if(event.target.getAttribute('value') == ''){
|
||||
fullPropsObj['ca_group_name'] = undefined;
|
||||
document.querySelector('#ca-label').style.display = 'none';
|
||||
document.querySelector('#calEVV-label').style.display = 'none';
|
||||
} else {
|
||||
for(let i = 0; i < event.target.parentNode.children.length; i++){
|
||||
event.target.parentNode.children[i].style.background = '#f2f4f5';
|
||||
@ -345,15 +347,15 @@
|
||||
|
||||
if(valid){
|
||||
fullPropsObj['ca_group_name'] = event.target.getAttribute('value');
|
||||
document.querySelector('#ca-label').style.display = 'none';
|
||||
document.querySelector('#calEVV-label').style.display = 'none';
|
||||
} else {
|
||||
fullPropsObj['ca_group_name'] = undefined;
|
||||
document.querySelector('#ca-label').style.display = 'block';
|
||||
document.querySelector('#calEVV-label').style.display = 'block';
|
||||
}
|
||||
}
|
||||
} else {
|
||||
fullPropsObj['ca_group_name'] = undefined;
|
||||
document.querySelector('#ca-label').style.display = 'none';
|
||||
document.querySelector('#calEVV-label').style.display = 'none';
|
||||
}
|
||||
}
|
||||
|
||||
@ -387,7 +389,7 @@
|
||||
|
||||
if(Object.keys(revisedPropsObj).length > 0){
|
||||
let validationFlag = true;
|
||||
let allRequiredFields = ['agency_name', 'medicaid_id', 'provider_id', 'learner_state', 'learner_role'];
|
||||
let allRequiredFields = ['agency_name', 'medicaid_id', 'provider_id', 'learner_state', 'learner_role', 'ca_group_name', 'oh_group_name'];
|
||||
|
||||
for(let i = 0; i < allRequiredFields.length; i++){
|
||||
if(Object.keys(revisedPropsObj).indexOf(allRequiredFields[i]) == -1){
|
||||
@ -457,7 +459,8 @@
|
||||
function webhookCaller(){
|
||||
return new Promise(function(res, rej) {
|
||||
let xhr = new XMLHttpRequest();
|
||||
url = "https://webhooks.workato.com/webhooks/rest/0a1d61c1-421c-4160-a1ab-d29e79aee50e/secondary-registration-submitted";
|
||||
url = "https://webhook.site/8fc3650a-7c4b-413a-a6fd-6e3787bc3771"
|
||||
//url = "https://webhooks.workato.com/webhooks/rest/0a1d61c1-421c-4160-a1ab-d29e79aee50e/secondary-registration-submitted";
|
||||
|
||||
xhr.addEventListener("load", e => {
|
||||
localStorage.setItem('completed-second-registration', true);
|
||||
|
||||
Reference in New Issue
Block a user