Updated some Cin7 Templates. Redownloaded the Sandata templates. Chubb notes and todos.
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
{% assign omni = false %}
|
{% assign omni = false %}
|
||||||
{% assign core = false %}
|
{% assign core = false %}
|
||||||
|
{% assign multiprod = false %}
|
||||||
{% assign log_out = true %}
|
{% assign log_out = true %}
|
||||||
|
|
||||||
{% if current_person.signed_in? %}
|
{% if current_person.signed_in? %}
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
{% if learning_path.enrolled? %}
|
{% if learning_path.enrolled? %}
|
||||||
<div class="np-top-cta-progress-content">
|
{% for category in learning_path.categories %}
|
||||||
|
{% if category.name contains "Deep Dive: Core" %}
|
||||||
|
<div class="np-top-cta-progress-content" style="visibility: hidden;">
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
<div class="lp-progress-text
|
<div class="lp-progress-text
|
||||||
{% if learning_path.completed? %} np-color-success {% else %} np-button-color {% endif %}
|
{% if learning_path.completed? %} np-color-success {% else %} np-button-color {% endif %}
|
||||||
">
|
">
|
||||||
|
|||||||
Binary file not shown.
@ -4,15 +4,15 @@
|
|||||||
<div class="np-card">
|
<div class="np-card">
|
||||||
<div class="np-card-container np-card-padding">
|
<div class="np-card-container np-card-padding">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-7 np-account-form">
|
<div class="col-sm-12 np-account-form">
|
||||||
{% render "account_form", form: form, version: "desktop" %}
|
{% render "account_form", form: form, version: "desktop" %}
|
||||||
<button type="submit" class="np-button np-button-big np-button-large-font np-form-action">
|
<button type="submit" class="np-button np-button-big np-button-large-font np-form-action">
|
||||||
{% t shared.account.save %}
|
{% t shared.account.save %}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-5 np-account-avatar">
|
{% comment %} <div class="col-sm-5 np-account-avatar">
|
||||||
{% include "account_avatar", version: "desktop" %}
|
{% include "account_avatar", version: "desktop" %}
|
||||||
</div>
|
</div> {% endcomment %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -6,11 +6,11 @@
|
|||||||
{% render "account_form", form: form, version: "mobile" %}
|
{% render "account_form", form: form, version: "mobile" %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="np-card np-account-avatar">
|
{% comment %} <div class="np-card np-account-avatar">
|
||||||
<div class="np-card-container np-card-padding">
|
<div class="np-card-container np-card-padding">
|
||||||
{% include "account_avatar", version: "mobile" %}
|
{% include "account_avatar", version: "mobile" %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> {% endcomment %}
|
||||||
<button type="submit" class="np-button np-button-big np-button-large-font np-form-action">
|
<button type="submit" class="np-button np-button-big np-button-large-font np-form-action">
|
||||||
{% t shared.account.save %}
|
{% t shared.account.save %}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@ -32,28 +32,19 @@
|
|||||||
|
|
||||||
{% comment %} <h1 class="sign-up-follow-up-prompt">State: </h1> {% endcomment %}
|
{% comment %} <h1 class="sign-up-follow-up-prompt">State: </h1> {% endcomment %}
|
||||||
{% include "sign_up_follow_up_states_dropdown" %}
|
{% include "sign_up_follow_up_states_dropdown" %}
|
||||||
<input class="sign-up-follow-up-input" id="calEVV-input" placeholder="CalEVV Identifier" style="display: none;"/>
|
<input class="sign-up-follow-up-input" id="calEVV-input" placeholder="CalEVV Identifier" style="display: none;" onChange="validateForm()"/>
|
||||||
<span class="sign-up-follow-up-error-label" id="calEVV-label">Please enter a valid, 10 digit California EVV ID Number</span>
|
<span class="sign-up-follow-up-error-label" id="calEVV-label">Please enter a valid, 10 digit California EVV ID Number</span>
|
||||||
|
|
||||||
{% comment %} <input class="sign-up-follow-up-input" id="oh-input" placeholder="OH Identifier" style="display: none;"/> {% endcomment %}
|
<div id="evv-radio-buttons" placeholder="EVV Radio Buttons">
|
||||||
<div id="oh-input" placeholder="OH Identifier" style="display: none;">
|
<div class='evv-radio-button' type="radio" value="ST - OH EVV ODM Agency Provider"
|
||||||
<div class='oh-button' type="radio" value="ST - OH EVV ODM Agency Provider"
|
|
||||||
onclick="validateForm()">Agency EVV</div>
|
onclick="validateForm()">Agency EVV</div>
|
||||||
<div class='oh-button' type="radio" value="ST - OH EVV Non-Agency"
|
<div class='evv-radio-button' type="radio" value="ST - OH EVV Non-Agency"
|
||||||
onclick="validateForm()">Non-Agency EVV</div>
|
onclick="validateForm()">Non-Agency EVV</div>
|
||||||
<div class='oh-button' type="radio" value="ST - OH ODM AGENCY PROVIDER ALT EVV"
|
<div class='evv-radio-button' type="radio" value="ST - OH ODM AGENCY PROVIDER ALT EVV"
|
||||||
onclick="validateForm()">Alternative EVV</div>
|
onclick="validateForm()">Alternative EVV</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="ca-input" placeholder="CA Identifier" style="display: none;">
|
<span class="sign-up-follow-up-error-label" id="evv-radio-label">Please select your affiliation</span>
|
||||||
{% 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()">Agency EVV</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()">Alternative EVV</div>
|
|
||||||
</div>
|
|
||||||
<span class="sign-up-follow-up-error-label" id="oh-label">Please select your affiliation</span>
|
|
||||||
|
|
||||||
{% comment %} <button class="sign-up-follow-up-button" onclick="submitData()">Submit</button> {% endcomment %}
|
{% comment %} <button class="sign-up-follow-up-button" onclick="submitData()">Submit</button> {% endcomment %}
|
||||||
<div class="sign-up-follow-up-button" onclick="submitData()">Submit</div>
|
<div class="sign-up-follow-up-button" onclick="submitData()">Submit</div>
|
||||||
@ -74,7 +65,7 @@
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#oh-input,
|
#evv-radio-buttons,
|
||||||
#ca-input {
|
#ca-input {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -86,12 +77,12 @@
|
|||||||
#medicaid-id-label,
|
#medicaid-id-label,
|
||||||
#provider-id-label,
|
#provider-id-label,
|
||||||
#calEVV-label,
|
#calEVV-label,
|
||||||
#oh-label {
|
#evv-radio-label {
|
||||||
color: red;
|
color: red;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oh-button,
|
.evv-radio-button,
|
||||||
.ca-button {
|
.ca-button {
|
||||||
border: 1px solid grey;
|
border: 1px solid grey;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
@ -104,12 +95,12 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oh-button:hover,
|
.evv-radio-button:hover,
|
||||||
.ca-button:hover {
|
.ca-button:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oh-button:focus,
|
.evv-radio-button:focus,
|
||||||
.ca-button:focus {
|
.ca-button:focus {
|
||||||
background: pink;
|
background: pink;
|
||||||
}
|
}
|
||||||
@ -164,19 +155,20 @@
|
|||||||
document.getElementById("sign-up-state-dropdown").addEventListener('change', (event) => {
|
document.getElementById("sign-up-state-dropdown").addEventListener('change', (event) => {
|
||||||
if(event.target.value == 'California'){
|
if(event.target.value == 'California'){
|
||||||
document.querySelector('#calEVV-input').style.display = 'block';
|
document.querySelector('#calEVV-input').style.display = 'block';
|
||||||
document.querySelector('#ca-input').style.display = 'block';
|
// document.querySelector('#ca-input').style.display = 'block';
|
||||||
} else {
|
} else {
|
||||||
document.querySelector('#calEVV-input').style.display = 'none';
|
document.querySelector('#calEVV-input').style.display = 'none';
|
||||||
document.querySelector('#calEVV-label').style.display = 'none';
|
document.querySelector('#calEVV-label').style.display = 'none';
|
||||||
document.querySelector('#ca-input').style.display = 'none';
|
// document.querySelector('#ca-input').style.display = 'none';
|
||||||
};
|
};
|
||||||
if(event.target.value == 'Ohio'){
|
|
||||||
console.log("Ohio selected!")
|
// if(event.target.value == 'Ohio'){
|
||||||
document.querySelector('#oh-input').style.display = 'block';
|
// console.log("Ohio selected!")
|
||||||
} else {
|
// document.querySelector('#oh-input').style.display = 'block';
|
||||||
document.querySelector('#oh-input').style.display = 'none';
|
// } else {
|
||||||
document.querySelector('#oh-label').style.display = 'none';
|
// document.querySelector('#oh-input').style.display = 'none';
|
||||||
}
|
// document.querySelector('#evv-radio-label').style.display = 'none';
|
||||||
|
// }
|
||||||
});
|
});
|
||||||
|
|
||||||
let digits = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
|
let digits = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
|
||||||
@ -302,12 +294,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Ohio Additional Options
|
|
||||||
if(event.target.parentNode.getAttribute('placeholder') == 'OH Identifier'){
|
if(event.target.parentNode.getAttribute('placeholder') == 'EVV Radio Buttons'){
|
||||||
if(fullPropsObj['learner_state'] == 'Ohio'){
|
// if(fullPropsObj['learner_state'] == 'Ohio'){
|
||||||
if(event.target.getAttribute('value') == ''){
|
if(event.target.getAttribute('value') == ''){
|
||||||
fullPropsObj['oh_group_name'] = undefined;
|
fullPropsObj['evv_radio_selection'] = undefined;
|
||||||
document.querySelector('#oh-label').style.display = 'none';
|
document.querySelector('#evv-radio-label').style.display = 'none';
|
||||||
} else {
|
} else {
|
||||||
for(let i = 0; i < event.target.parentNode.children.length; i++){
|
for(let i = 0; i < event.target.parentNode.children.length; i++){
|
||||||
event.target.parentNode.children[i].style.background = '#f2f4f5';
|
event.target.parentNode.children[i].style.background = '#f2f4f5';
|
||||||
@ -319,24 +311,20 @@
|
|||||||
let valid = true;
|
let valid = true;
|
||||||
|
|
||||||
if(valid){
|
if(valid){
|
||||||
fullPropsObj['oh_group_name'] = event.target.getAttribute('value');
|
fullPropsObj['evv_radio_selection'] = event.target.getAttribute('value');
|
||||||
document.querySelector('#oh-label').style.display = 'none';
|
document.querySelector('#evv-radio-label').style.display = 'none';
|
||||||
} else {
|
} else {
|
||||||
fullPropsObj['oh_group_name'] = undefined;
|
fullPropsObj['evv_radio_selection'] = undefined;
|
||||||
document.querySelector('#oh-label').style.display = 'block';
|
document.querySelector('#evv-radio-label').style.display = 'block';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
fullPropsObj['oh_group_name'] = undefined;
|
|
||||||
document.querySelector('#oh-label').style.display = 'none';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// California Additional Options
|
// California Additional Options
|
||||||
if(event.target.parentNode.getAttribute('placeholder') == 'CA Identifier'){
|
if(event.target.parentNode.getAttribute('placeholder') == 'CA Identifier'){
|
||||||
if(fullPropsObj['learner_state'] == 'California'){
|
if(fullPropsObj['learner_state'] == 'California'){
|
||||||
if(event.target.getAttribute('value') == ''){
|
if(event.target.getAttribute('value') == ''){
|
||||||
fullPropsObj['ca_group_name'] = undefined;
|
fullPropsObj['cal_evv_id'] = undefined;
|
||||||
document.querySelector('#calEVV-label').style.display = 'none';
|
document.querySelector('#calEVV-label').style.display = 'none';
|
||||||
} else {
|
} else {
|
||||||
for(let i = 0; i < event.target.parentNode.children.length; i++){
|
for(let i = 0; i < event.target.parentNode.children.length; i++){
|
||||||
@ -346,18 +334,18 @@
|
|||||||
event.target.style.background = 'rgb(242, 169, 0)';
|
event.target.style.background = 'rgb(242, 169, 0)';
|
||||||
event.target.style.color = '#000';
|
event.target.style.color = '#000';
|
||||||
|
|
||||||
let valid = true;
|
let valid = event.target.getAttribute('value').length == 10;
|
||||||
|
|
||||||
if(valid){
|
if(valid){
|
||||||
fullPropsObj['ca_group_name'] = event.target.getAttribute('value');
|
fullPropsObj['cal_evv_id'] = event.target.getAttribute('value');
|
||||||
document.querySelector('#calEVV-label').style.display = 'none';
|
document.querySelector('#calEVV-label').style.display = 'none';
|
||||||
} else {
|
} else {
|
||||||
fullPropsObj['ca_group_name'] = undefined;
|
fullPropsObj['cal_evv_id'] = undefined;
|
||||||
document.querySelector('#calEVV-label').style.display = 'block';
|
document.querySelector('#calEVV-label').style.display = 'block';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fullPropsObj['ca_group_name'] = undefined;
|
fullPropsObj['cal_evv_id'] = undefined;
|
||||||
document.querySelector('#calEVV-label').style.display = 'none';
|
document.querySelector('#calEVV-label').style.display = 'none';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -392,13 +380,11 @@
|
|||||||
|
|
||||||
if(Object.keys(revisedPropsObj).length > 0){
|
if(Object.keys(revisedPropsObj).length > 0){
|
||||||
let validationFlag = true;
|
let validationFlag = true;
|
||||||
if (revisedPropsObj['learner_state'] == 'Ohio') {
|
if (revisedPropsObj['learner_state'] == 'California') {
|
||||||
var allRequiredFields = ['agency_name', 'medicaid_id', 'provider_id', 'learner_state', 'learner_role', 'oh_group_name'];
|
var allRequiredFields = ['agency_name', 'medicaid_id', 'provider_id', 'learner_state', 'learner_role', 'evv_radio_selection', 'cal_evv_id'];
|
||||||
} else if (revisedPropsObj['learner_state'] == 'California') {
|
} else {
|
||||||
var allRequiredFields = ['agency_name', 'medicaid_id', 'provider_id', 'learner_state', 'learner_role', 'ca_group_name'];
|
var allRequiredFields = ['agency_name', 'medicaid_id', 'provider_id', 'learner_state', 'learner_role', 'evv_radio_selection'];
|
||||||
} else {
|
}
|
||||||
var allRequiredFields = ['agency_name', 'medicaid_id', 'provider_id', 'learner_state', 'learner_role'];
|
|
||||||
}
|
|
||||||
|
|
||||||
for(let i = 0; i < allRequiredFields.length; i++){
|
for(let i = 0; i < allRequiredFields.length; i++){
|
||||||
if(Object.keys(revisedPropsObj).indexOf(allRequiredFields[i]) == -1){
|
if(Object.keys(revisedPropsObj).indexOf(allRequiredFields[i]) == -1){
|
||||||
@ -411,21 +397,23 @@
|
|||||||
document.querySelector('#calEVV-input').style.borderRadius = '2px';
|
document.querySelector('#calEVV-input').style.borderRadius = '2px';
|
||||||
document.querySelector('#calEVV-label').style.display = 'block';
|
document.querySelector('#calEVV-label').style.display = 'block';
|
||||||
} else {
|
} else {
|
||||||
|
validationFlag = true;
|
||||||
document.querySelector('#calEVV-input').style.border = '1px solid light-dark(rgb(118, 118, 118), rgb(133, 133, 133))';
|
document.querySelector('#calEVV-input').style.border = '1px solid light-dark(rgb(118, 118, 118), rgb(133, 133, 133))';
|
||||||
document.querySelector('#calEVV-label').style.display = 'none';
|
document.querySelector('#calEVV-label').style.display = 'none';
|
||||||
revisedPropsObj['oh_group_name'] = undefined;
|
// revisedPropsObj['evv_radio_selection'] = undefined;
|
||||||
}
|
}
|
||||||
} else if(allRequiredFields[i] == 'learner_state' && revisedPropsObj[allRequiredFields[i]] == 'Ohio'){
|
}
|
||||||
if(Object.keys(revisedPropsObj).indexOf('oh_group_name') == -1){
|
// else if(allRequiredFields[i] == 'learner_state' && revisedPropsObj[allRequiredFields[i]] == 'Ohio'){
|
||||||
validationFlag = false;
|
// if(Object.keys(revisedPropsObj).indexOf('evv_radio_selection') == -1){
|
||||||
document.querySelector('#oh-label').style.display = 'block';
|
// validationFlag = false;
|
||||||
} else {
|
// document.querySelector('#evv-radio-label').style.display = 'block';
|
||||||
document.querySelector('#oh-label').style.display = 'none';
|
// } else {
|
||||||
revisedPropsObj['ca_group_name'] = undefined;
|
// document.querySelector('#evv-radio-label').style.display = 'none';
|
||||||
revisedPropsObj['cal_evv_id'] = undefined;
|
// revisedPropsObj['cal_evv_id'] = undefined;
|
||||||
|
// revisedPropsObj['cal_evv_id'] = undefined;
|
||||||
|
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(validationFlag){
|
if(validationFlag){
|
||||||
@ -458,13 +446,9 @@
|
|||||||
console.log('SUBMIT!')
|
console.log('SUBMIT!')
|
||||||
console.log(userID);
|
console.log(userID);
|
||||||
|
|
||||||
if(revisedPropsObj['learner_state'] != 'Ohio'){
|
|
||||||
revisedPropsObj['oh_group_name'] = "None";
|
|
||||||
}
|
|
||||||
|
|
||||||
if(revisedPropsObj['learner_state'] != 'California'){
|
if(revisedPropsObj['learner_state'] != 'California'){
|
||||||
revisedPropsObj['cal_evv_id'] = "None";
|
revisedPropsObj['cal_evv_id'] = "None";
|
||||||
revisedPropsObj['ca_group_name'] = "None";
|
revisedPropsObj['cal_evv_id'] = "None";
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(revisedPropsObj);
|
console.log(revisedPropsObj);
|
||||||
|
|||||||
@ -146,3 +146,8 @@ Employee Access Updates:
|
|||||||
* They have not been able to have non-admin learners to SSO in
|
* They have not been able to have non-admin learners to SSO in
|
||||||
* They will be using qualtrics soon and passing parameters.
|
* They will be using qualtrics soon and passing parameters.
|
||||||
* Grateful for the recent MCA name changes.
|
* Grateful for the recent MCA name changes.
|
||||||
|
|
||||||
|
## 05-02-2024
|
||||||
|
|
||||||
|
End of Survey HTML: id="EndOfSurvey"
|
||||||
|
Continue button HRML: data-text="continue-button"
|
||||||
|
|||||||
4
Todos.md
4
Todos.md
@ -265,7 +265,7 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
|
|||||||
- [ ] G2 - Banner from another custom page --> is this possible?
|
- [ ] G2 - Banner from another custom page --> is this possible?
|
||||||
- [ ] Cin7 - Partners in Customer Academy; all partners should see _all_ product courses, regardless if they are Omni or Core. Logic - if omni and core group, or if in partner group, show all courses. Then, if omni, or if core, show just those courses.
|
- [ ] Cin7 - Partners in Customer Academy; all partners should see _all_ product courses, regardless if they are Omni or Core. Logic - if omni and core group, or if in partner group, show all courses. Then, if omni, or if core, show just those courses.
|
||||||
- [X] Copado - Send meeting invite for Friday at 10:30 am.
|
- [X] Copado - Send meeting invite for Friday at 10:30 am.
|
||||||
- [ ] Copado - Get Sales decks from Charles
|
- [X] Copado - Get Sales decks from Charles
|
||||||
- [ ] DoubleVerify - Remove French and Russian languages from Header language picker on 5/10.
|
- [ ] DoubleVerify - Remove French and Russian languages from Header language picker on 5/10.
|
||||||
|
|
||||||
## 04-30-2024
|
## 04-30-2024
|
||||||
@ -273,6 +273,8 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
|
|||||||
- [ ] DoorDash - how are they sending out notifications for new training? Ask Travis.
|
- [ ] DoorDash - how are they sending out notifications for new training? Ask Travis.
|
||||||
- [ ] Cin7 - Email Courtney with these questions re: Academy Changes
|
- [ ] Cin7 - Email Courtney with these questions re: Academy Changes
|
||||||
- [ ] Homepage carousel: Core shows LPs & Deep Dives, Omni just shows category carousel. What should multi-prod show? (Omni/Core Courses are separated at the carousel level, we cannot show both types of courses in a single carousel)
|
- [ ] Homepage carousel: Core shows LPs & Deep Dives, Omni just shows category carousel. What should multi-prod show? (Omni/Core Courses are separated at the carousel level, we cannot show both types of courses in a single carousel)
|
||||||
|
- [ ] Williams-Sonoma - Custom report in Looker with last login time.
|
||||||
|
|
||||||
|
|
||||||
## 05-01-2024
|
## 05-01-2024
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user