-
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
FYST-788 Add interest income from obligations of the us #4914
FYST-788 Add interest income from obligations of the us #4914
Conversation
Heroku app: https://gyr-review-app-4914-647421ccee45.herokuapp.com/ |
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.
just one comment on the fixture but otherwise looks good!
def calculate_sec_b_line_3 | ||
sum = 0 | ||
@direct_file_json_data.interest_reports.each do |interest_report| | ||
sum += interest_report.interest_on_government_bonds |
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.
note to self: this will be 0
if the value was nil
in the JSON, due to the DfJsonWrapper reader method, so we don't have to protect against a potential nil value 🙌
"middleInitial": "T", | ||
"lastName": "Interest", | ||
"dateOfBirth": "1980-01-01", | ||
"isPrimaryFiler": true |
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.
can the filer also have a tin
field as well since that's something we should always expect (hopefully) from IRS?
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.
thanks i'll add in the tin values!
Link to pivotal/JIRA issue
https://codeforamerica.atlassian.net/browse/FYST-788
Is PM acceptance required?
Reminder: merge main into this branch and get green tests before merging to main
What was done?
How to test?
Screenshots (for visual changes)