Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Questions Scaffolding Only #451

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
42 changes: 33 additions & 9 deletions src/main/resources/flows-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ flow:
condition: GoingToSchool
- name: householdPregnancy
householdSchoolWho:
nextScreens:
- name: householdSchoolDetails
householdSchoolDetails:
nextScreens:
- name: householdPregnancy
householdPregnancy:
Expand All @@ -131,6 +134,9 @@ flow:
condition: IsPregnant
- name: householdBenefits
householdPregnancyWho:
nextScreens:
- name: householdPregnancyDueDate
householdPregnancyDueDate:
nextScreens:
- name: householdBenefits
householdBenefits:
Expand Down Expand Up @@ -315,6 +321,9 @@ flow:
condition: ProgramsIncludeSnap
- name: expensesSignPost
householdMoneyOnHand:
nextScreens:
- name: householdMoneyOnHandWhich
householdMoneyOnHandWhich:
nextScreens:
- name: expensesSignPost
expensesSignPost:
Expand Down Expand Up @@ -439,7 +448,7 @@ flow:
condition: ExpensesIncludeCookingFuel
- name: utilitiesOther
condition: ExpensesIncludeOtherUtilities
- name: expensesDependentCare
- name: energyAssistance
utilitiesHeating:
nextScreens:
- name: utilitiesCooling
Expand All @@ -458,7 +467,7 @@ flow:
condition: ExpensesIncludeCookingFuel
- name: utilitiesOther
condition: ExpensesIncludeOtherUtilities
- name: expensesDependentCare
- name: energyAssistance
utilitiesCooling:
nextScreens:
- name: utilitiesElectricity
Expand All @@ -475,7 +484,7 @@ flow:
condition: ExpensesIncludeCookingFuel
- name: utilitiesOther
condition: ExpensesIncludeOtherUtilities
- name: expensesDependentCare
- name: energyAssistance
utilitiesElectricity:
nextScreens:
- name: utilitiesWater
Expand All @@ -490,7 +499,7 @@ flow:
condition: ExpensesIncludeCookingFuel
- name: utilitiesOther
condition: ExpensesIncludeOtherUtilities
- name: expensesDependentCare
- name: energyAssistance
utilitiesWater:
nextScreens:
- name: utilitiesPhone
Expand All @@ -503,7 +512,7 @@ flow:
condition: ExpensesIncludeCookingFuel
- name: utilitiesOther
condition: ExpensesIncludeOtherUtilities
- name: expensesDependentCare
- name: energyAssistance
utilitiesPhone:
nextScreens:
- name: utilitiesGarbage
Expand All @@ -514,7 +523,7 @@ flow:
condition: ExpensesIncludeCookingFuel
- name: utilitiesOther
condition: ExpensesIncludeOtherUtilities
- name: expensesDependentCare
- name: energyAssistance
utilitiesGarbage:
nextScreens:
- name: utilitiesSewer
Expand All @@ -523,20 +532,26 @@ flow:
condition: ExpensesIncludeCookingFuel
- name: utilitiesOther
condition: ExpensesIncludeOtherUtilities
- name: expensesDependentCare
- name: energyAssistance
utilitiesSewer:
nextScreens:
- name: utilitiesCookingFuel
condition: ExpensesIncludeCookingFuel
- name: utilitiesOther
condition: ExpensesIncludeOtherUtilities
- name: expensesDependentCare
- name: energyAssistance
utilitiesCookingFuel:
nextScreens:
- name: utilitiesOther
condition: ExpensesIncludeOtherUtilities
- name: expensesDependentCare
- name: energyAssistance
utilitiesOther:
nextScreens:
- name: energyAssistance
energyAssistance:
nextScreens:
- name: liheap
liheap:
nextScreens:
- name: expensesDependentCare
expensesDependentCare:
Expand All @@ -545,6 +560,12 @@ flow:
condition: HasDependentCareExpenses
- name: expensesInsurance
expensesDependentCareAmount:
nextScreens:
- name: expensesChildSupport
expensesChildSupport:
nextScreens:
- name: expensesChildSupportAmount
expensesChildSupportAmount:
nextScreens:
- name: expensesInsurance
expensesInsurance:
Expand Down Expand Up @@ -591,6 +612,9 @@ flow:
nextScreens:
- name: finalSignPost
finalSignPost:
nextScreens:
- name: ebtCard
ebtCard:
nextScreens:
- name: authorizedRepAuthorization
authorizedRepAuthorization:
Expand Down
54 changes: 54 additions & 0 deletions src/main/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -531,15 +531,31 @@ school.content.p1=Include anyone who is enrolled at least half of their time in
school.content.p2=That would include:
school.content.li1=A regular curriculum at a college or university that offers degrees
school.content.li2=A business, technical, trade, or vocational school that normally requires a high school diploma or equivalent (GED)

school-who.title=School who
school-who.header=Who is going to school?

# School Details
schooldetails.title=School Details
schooldetails.header=We need some additional details.
schooldetails.subheader=An asterisk (*) indicates a required field.
schooldetails.formquestion1=* What is the name of {0} school?
schooldetails.formquestion2=* How often does {0} go to school?
schooldetails.question2-helptext=The number of hours considered as half-time enrollment is determined by the institution of higher education.
schooldetails.fulltime=Full-time
schooldetails.halftime=Half-time

# Pregnancy
pregnancy.title=Pregnancy
pregnancy.header=Is anyone in your household pregnant?
pregnancy-who.title=Pregnancy who
pregnancy-who.header=Who is pregnant?

pregnantduedate.title=Pregnancy Due Date
pregnantduedate.header=When is your {0} due date?
pregnantduedate.subheader.=An estimate is ok.
pregnantduedate.helptext=Month / Day / Year

# Out of state benefits
out-of-state-benefits.title=Out of state benefits
out-of-state-benefits.header=Has anyone in your household received cash assistance or SNAP benefits from another state?
Expand Down Expand Up @@ -811,6 +827,25 @@ money-on-hand.title=Money on hand
money-on-hand.header=How much money do the people on your application have on hand?
money-on-hand.subtext=<p>This includes any cash or money in checking or savings accounts.</p> <p>This won't affect your benefit amount. It's only used to see if you qualify for expedited service.</p> <p>Type '0' if you don't have any.</p>

moneyonhand-types.title=Money On Hand Types
moneyonhand-types.header=What money do the people on your application have on hand?
moneyonhand-types.subheader=Check all that apply.</br>This won't affect your benefit amount. It's only used to see if you qualify for expedited service.
moneyonhand-types.option1=Checking account
moneyonhand-types.option2=Savings account
moneyonhand-types.option3=Joint account
moneyonhand-types.option4=Bonds
moneyonhand-types.option5=Cash on hand
moneyonhand-types.option6=Certificate of Deposit (CD)
moneyonhand-types.option7=Money Market Account
moneyonhand-types.option8=Mutual funds
moneyonhand-types.option9=Savings bond
moneyonhand-types.option10=Stocks

moneyonhand-which.title=Money On Hand - Which
moneyonhand-which.header={0} details
moneyonhand-which.q1=Who is the money listed under?
moneyonhand-which.q2=How much is it worth?

# Expenses
expenses-signpost.title=Expenses Signpost
expenses-signpost.step=Step 4 of 5
Expand Down Expand Up @@ -842,6 +877,13 @@ utilities.sewer=Sewer
utilities.cooking-fuel=Cooking Fuel
utilities.other=Other

#LIHEAP
energy-assistance-title=Energy Assitance
energy-assistance-header=Do you receive energy assistance?

liheap-title=LIHEAP
liheap-header=Is the assistance through LIHEAP (Low-Income Home Energy Assistance Program)?

home-expenses.question=How much is the household billed for {0} every month?
home-expenses.question.other=How much is the household billed for other home expenses every month?
utilities-expenses.question.other=How much is the household billed for other utilities every month?
Expand All @@ -855,6 +897,13 @@ dependentcare-expenses.title=Dependent Care Amount
dependentcare-expenses.header=How much do the people on your application pay for child or dependent care every month?
dependentcare-expenses.subheader=<p>If you live with roommates who aren't applying with you, only include how much the people on your application pay.</p> <p>Type '0' if you don't have any.</p>

# Child Support
childsupportexpenses-title=Child Support Expenses
childsupportexpenses-header=Does anyone in your household pay court-ordered child support?
childsupportexpenses-amount-title=Child Support Expenses Amount
childsupportexpenses-amount-header=How much do the people on your application pay for court-ordered child support every month?
childsupportexpenses-amount-subheader=If you live with roommates who aren't applying with you, only include how much the people on your application pay.<br/>Type '0' if you don't pay anything.

insurance-expenses.title=Insurance Expenses
insurance-expenses.header=Does anyone in your household pay for health insurance or other medical expenses?
insurance-expenses.subheader=Let us know if you are paying out-of-pocket for any of these medical expenses.
Expand Down Expand Up @@ -886,6 +935,11 @@ final-signpost.content-2=Registering to vote
final-signpost.content-3=Race and ethnicity
final-signpost.content-4=Agreeing to terms

#EBT
ebtcard-title=EBT Card
ebtcard-header=Do you need a new EBT card?
ebtcard-subheader=You can use your EBT (Electronic Benefits Transfer) card to pay for groceries if you?re approved for SNAP.

authorized-rep.title=Authorized Representative
authorized-rep.header=Do you want to assign someone to be your authorized representative?
authorized-rep.subheader=This person can help you with your benefits or act on your behalf.
Expand Down
30 changes: 30 additions & 0 deletions src/main/resources/templates/laDigitalAssister/ebtCard.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<head th:replace="fragments/head :: head(title=#{ebtcard-title})"></head>
<body>
<div class="page-wrapper">
<div th:replace="fragments/toolbar :: toolbar"></div>
<section class="slab">
<div class="grid">
<div th:replace="fragments/goBack :: goBackLink"></div>
<main id="content" role="main" class="form-card spacing-above-35">
<!-- <th:block-->
<!-- th:replace="'fragments/cardHeader' :: cardHeader(header=#{}, subtext=#{})"/>-->
<th:block th:replace="'fragments/form' :: form(action=${formAction}, content=~{::formContent})">
<th:block th:ref="formContent">
<div class="form-card__content">

</div>
<div class="form-card__footer">
<th:block th:replace="~{fragments/continueButton :: continue}" />

</div>
</th:block>
</th:block>
</main>
</div>
</section>
</div>
<th:block th:replace="fragments/footer :: footer" />
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<head th:replace="fragments/head :: head(title=#{energy-assistance-title})"></head>
<body>
<div class="page-wrapper">
<div th:replace="fragments/toolbar :: toolbar"></div>
<section class="slab">
<div class="grid">
<div th:replace="fragments/goBack :: goBackLink"></div>
<main id="content" role="main" class="form-card spacing-above-35">
<!-- <th:block-->
<!-- th:replace="'fragments/cardHeader' :: cardHeader(header=#{}, subtext=#{})"/>-->
<th:block th:replace="'fragments/form' :: form(action=${formAction}, content=~{::formContent})">
<th:block th:ref="formContent">
<div class="form-card__content">

</div>
<div class="form-card__footer">
<th:block th:replace="~{fragments/continueButton :: continue}" />

</div>
</th:block>
</th:block>
</main>
</div>
</section>
</div>
<th:block th:replace="fragments/footer :: footer" />
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<head th:replace="fragments/head :: head(title='Scaffold')"></head>
<body>
<div class="page-wrapper">
<div th:replace="fragments/toolbar :: toolbar"></div>
<section class="slab">
<div class="grid">
<div th:replace="fragments/goBack :: goBackLink"></div>
<main id="content" role="main" class="form-card spacing-above-35">
<!-- <th:block-->
<!-- th:replace="'fragments/cardHeader' :: cardHeader(header=#{}, subtext=#{})"/>-->
<th:block th:replace="'fragments/form' :: form(action=${formAction}, content=~{::formContent})">
<th:block th:ref="formContent">
<div class="form-card__content">

</div>
<div class="form-card__footer">
<th:block th:replace="~{fragments/continueButton :: continue}" />

</div>
</th:block>
</th:block>
</main>
</div>
</section>
</div>
<th:block th:replace="fragments/footer :: footer" />
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<head th:replace="fragments/head :: head(title='Scaffold')"></head>
<body>
<div class="page-wrapper">
<div th:replace="fragments/toolbar :: toolbar"></div>
<section class="slab">
<div class="grid">
<div th:replace="fragments/goBack :: goBackLink"></div>
<main id="content" role="main" class="form-card spacing-above-35">
<!-- <th:block-->
<!-- th:replace="'fragments/cardHeader' :: cardHeader(header=#{}, subtext=#{})"/>-->
<th:block th:replace="'fragments/form' :: form(action=${formAction}, content=~{::formContent})">
<th:block th:ref="formContent">
<div class="form-card__content">

</div>
<div class="form-card__footer">
<th:block th:replace="~{fragments/continueButton :: continue}" />

</div>
</th:block>
</th:block>
</main>
</div>
</section>
</div>
<th:block th:replace="fragments/footer :: footer" />
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<head th:replace="fragments/head :: head(title=#{moneyonhand-types.title})"></head>
<body>
<div class="page-wrapper">
<div th:replace="fragments/toolbar :: toolbar"></div>
<section class="slab">
<div class="grid">
<div th:replace="fragments/goBack :: goBackLink"></div>
<main id="content" role="main" class="form-card spacing-above-35">
<!-- <th:block-->
<!-- th:replace="'fragments/cardHeader' :: cardHeader(header=#{}, subtext=#{})"/>-->
<th:block th:replace="'fragments/form' :: form(action=${formAction}, content=~{::formContent})">
<th:block th:ref="formContent">
<div class="form-card__content">

</div>
<div class="form-card__footer">
<th:block th:replace="~{fragments/continueButton :: continue}" />

</div>
</th:block>
</th:block>
</main>
</div>
</section>
</div>
<th:block th:replace="fragments/footer :: footer" />
</body>
</html>