-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CCAP-567] - Refactor address validation flow for parentHome, parentMailing, providerResponseService, providerMailing addresses #1236
base: main
Are you sure you want to change the base?
Conversation
src/main/java/org/ilgcc/app/submission/actions/SaveValidatedAddress.java
Outdated
Show resolved
Hide resolved
@@ -28,22 +28,20 @@ public class SetOrganizationIdAndCCRRName implements Action { | |||
CCMSDataServiceImpl ccmsDataServiceImpl; | |||
|
|||
private static final String ORGANIZATION_ID_INPUT = "organizationId"; | |||
private static final String UNVALIDATED_ZIPCODE_INPUT_NAME = "parentHomeZipCode"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renamed because the same input will hold validated and unvalidated zip code data.
src/main/java/org/ilgcc/app/submission/actions/SaveValidatedAddress.java
Outdated
Show resolved
Hide resolved
6fe45b6
to
8241a4b
Compare
8241a4b
to
7cf68fa
Compare
@@ -641,7 +651,8 @@ flow: | |||
nextScreens: | |||
- name: registration-confirm-mailing-address | |||
registration-confirm-mailing-address: | |||
condition: EnableProviderRegistration | |||
condition: ShowProviderResponseMailingAddressConfirmationScreen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can incorporate Enable Provider Registration into the condition but you can't come to this place any reasonable way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, not a big deal.
…addresses being confirmed
…p confirmation screen when addresses pretty much match
…ymore and update isHomelessMethod to accept input name
…ces of truth for address.
…es that the applicant confirmed
…s tested elsewhere
…ts, rename test for accuracy
7bdd211
to
e8fbdfa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for those changes!
🔗 Jira ticket
CCAP-567
✍️ Description
Family Flow |
Provider Flow
Service address should be validated if the inputted address and the suggested address are not the same.
Mailing address should be validated when different than the service address if the inputted address and the suggested address are not the same.
Once a user validates an address, the inputted address will be updated to equal the validated value.
Code logic no longer references _validated address fields
If first and second addresses are the same, then only the first one will appear in the PDF.
📷 Design reference
✅ Completion tasks