A ton of updates for Cin7's templates for multi-product people. Finished the first half of the mass-delete script for Sandata.
This commit is contained in:
@ -36,12 +36,12 @@
|
||||
<span class="sign-up-follow-up-error-label" id="calEVV-label">Please enter a valid, 10 digit California EVV ID Number</span>
|
||||
|
||||
<div id="evv-radio-buttons" placeholder="EVV Radio Buttons">
|
||||
<div class='evv-radio-button' type="radio" value="ST - OH EVV ODM Agency Provider"
|
||||
<div class='evv-radio-button' type="radio" value="Agency EVV"
|
||||
onclick="validateForm()">Agency EVV</div>
|
||||
<div class='evv-radio-button' type="radio" value="ST - OH EVV Non-Agency"
|
||||
<div class='evv-radio-button' type="radio" value="Non-Agency EVV"
|
||||
onclick="validateForm()">Non-Agency EVV</div>
|
||||
<div class='evv-radio-button' type="radio" value="ST - OH ODM AGENCY PROVIDER ALT EVV"
|
||||
onclick="validateForm()">Alternative EVV</div>
|
||||
<div class='evv-radio-button' type="radio" value="Alt EVV Aggregator"
|
||||
onclick="validateForm()">Alt EVV Aggregator</div>
|
||||
</div>
|
||||
|
||||
<span class="sign-up-follow-up-error-label" id="evv-radio-label">Please select your affiliation</span>
|
||||
@ -335,7 +335,7 @@
|
||||
event.target.style.color = '#000';
|
||||
|
||||
let valid = event.target.getAttribute('value').length == 10;
|
||||
|
||||
|
||||
if(valid){
|
||||
fullPropsObj['cal_evv_id'] = event.target.getAttribute('value');
|
||||
document.querySelector('#calEVV-label').style.display = 'none';
|
||||
@ -402,7 +402,7 @@
|
||||
document.querySelector('#calEVV-label').style.display = 'none';
|
||||
// revisedPropsObj['evv_radio_selection'] = undefined;
|
||||
}
|
||||
}
|
||||
}
|
||||
// else if(allRequiredFields[i] == 'learner_state' && revisedPropsObj[allRequiredFields[i]] == 'Ohio'){
|
||||
// if(Object.keys(revisedPropsObj).indexOf('evv_radio_selection') == -1){
|
||||
// validationFlag = false;
|
||||
@ -464,15 +464,15 @@
|
||||
window.location.replace('/app/dashboard');
|
||||
});
|
||||
|
||||
xhr.open("POST", url, true);
|
||||
xhr.send(JSON.stringify([{
|
||||
id: userID,
|
||||
email: email,
|
||||
type:'person_properties',
|
||||
attributes: {
|
||||
'properties': revisedPropsObj
|
||||
},
|
||||
}]))
|
||||
xhr.open("POST", url, true);
|
||||
xhr.send(JSON.stringify([{
|
||||
id: userID,
|
||||
email: email,
|
||||
type:'person_properties',
|
||||
attributes: {
|
||||
'properties': revisedPropsObj
|
||||
},
|
||||
}]))
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user