-
Notifications
You must be signed in to change notification settings - Fork 13
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
GYR1-616 Add Hub additional notes p5 + pertinent mappings #5431
Conversation
Heroku app: https://gyr-review-app-5431-da5cb9598458.herokuapp.com/ |
a9b1001
to
68f1e35
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.
Looks good!
<div class="form_13614c slab slab--not-padded"> | ||
<h1><%= @title %></h1> | ||
<p>Last client 13614-C | ||
update: <%= @client.last_13614c_update_at&.in_time_zone("America/Los_Angeles")&.strftime("%b %-d %l:%M %p") %></p> |
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.
Where is this timezone coming from?
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.
that's a good question. it's just what was in the preexisting ERBs in the editable 14-C flow. now that you mention it, i do wonder if it being hardcoded like that is the best idea. but afaik, that's the way it was for ty2023. could be worth following up on though.
header = 'Additional Notes/Comments' | ||
expect(page).to have_text header | ||
|
||
note = 'It was very late and everyone had left the café except an old man who sat in the shadow the leaves of the tree made against the electric light.' |
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.
🥹
c0b9f0c
to
5562879
Compare
@embarnard also, i meant to have the write-up ready before putting into review. i've added that now. |
Link to Jira issue
Is PM acceptance required?
Reminder: merge main into this branch and get green tests before merging to main
What was done?
Notes/Comments" field. This field should "start out" with whatever comments
the client entered into the FinalInfoController screen back during the intake
flow.
the PDF.
5th page when there are 4 or more dependents.
Technical Notes
additional_notes_comments
has been created, which is atext
column, toreplace the legacy
final_info
string
column. I thinktext
is thepreferable data type here.
additional_info
wasn't really being used, so it's no longerincluded in the string that gets written out to the PDF.
How to test?
navigating to page 5 in the Hub
show up properly on the PDF.
properly on page 5 of the PDF.
the order of how values were written out on the PDF.
records.
Example