-
Notifications
You must be signed in to change notification settings - Fork 35
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
B-21458 int2 #14272
B-21458 int2 #14272
Conversation
also standardize the address format with a new function in models/address.go with tests.
Also, to run locally, run this:
|
added first test which also works around an apparent issue with the PPM factory, wip.
6659715
to
b23bd22
Compare
also expand unit tests to include the move_counseled email for PPMs.
d1d0a8f
to
185a86c
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.
Also just a heads up but the AC in this PR is NOT the AC in the BL provided. Might want to add what you've put in here to Agility. |
Yes, thanks. I've added the AC now. |
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.
Looks good.
B-21458
Summary
Agility: B-21458
When the orders type is retirement OR separation, the email should state the destination address of their first shipment instead of Duty Station.
For PPMs, we need to use the Address linked to the PPM.
Previous Int PR: #14099
Update: Other emails needed updating for PPM addresses. I also moved the formatting into Address.go to keep it consistent.
Verification Steps for the Author
These are to be checked by the author.
Verification Steps for Reviewers
These are to be checked by a reviewer.
Setup to Run the Code
How to test
NOTE: I haven't been able to test the emails locally, but I've tested the previous PRs changes for the "Complete your PPM" email in integrationTesting
Given I am a customer
When I create a PPM for a retirement or separation with an expected departure date at least 14 days in the past
Then I will receive a "Thank you for submitting your move details" email showing the actual destination address (instead of HOS/ HOR/PLEAD)
Given the above
When a TOO approves the PPM
Then I will receive a "Your counselor has approved your move details" email showing the actual destination address (instead of HOS/ HOR/PLEAD)
And the next morning I will receive a "Complete your Personally Procured Move (PPM)" email showing the actual destination address (instead of HOS/ HOR/PLEAD)
Frontend
officeApp
class or custommin-width
styling is used to hide any states the would not be visible to the user.Backend
Database
Any new migrations/schema changes:
Screenshots