-
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-1868] ID refactor logic #5665
[FYST-1868] ID refactor logic #5665
Conversation
…w spouse-specific screen if only spouse 62-65
…le_income factory for 1099Rs
…retirement-deduction-logic
…r by utilizing eligible_109rs
…e eligible_income factory for 1099Rs" This reverts commit 5e3dc55.
…nto FYST-1882-id-update-idaho-retirement-deduction-logic-refactor
…le_income factory for 1099Rs
Heroku app: https://gyr-review-app-5665-76883435d8a1.herokuapp.com/ |
…retirement-deduction-logic
…nto FYST-1882-id-update-idaho-retirement-deduction-logic-refactor
…retirement-deduction-logic-refactor
@@ -85,7 +85,7 @@ def calculate_sec_b_line_8d | |||
end | |||
|
|||
def calculate_sec_b_line_8e | |||
@intake.state_file1099_rs.sum do |form1099r| | |||
@intake.eligible_1099rs.sum do |form1099r| | |||
if form1099r.state_specific_followup&.eligible_income_source_yes? && form1099r.taxable_amount.present? |
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.
presumably with this refactor, taxable_amount
will be always present already
…e 1099r is when taxable_income exists
@@ -313,4 +313,15 @@ | |||
end | |||
end | |||
|
|||
describe "#eligible_1099rs" do | |||
%w[az md nc nj].each do |state_code| |
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.
although nj is not using this method, I wanted to make sure it was documented that they will have it
closing this, in favor of:
|
Link to pivotal/JIRA issue
Is PM acceptance required? (delete one)
Reminder: merge main into this branch and get green tests before merging to main
What was done?
eligible_1099rs
income for ID39R calculationsshow
retirement subtractions controllers for all states ifeligible_1099rs
exist for the intake instead of if any 1099rs are present. notably for nc currently, there is noeligible_1099rs
method (it uses the base method, which looks at all 1099rs), so the logic should still be the same.eligible_1099rs
method in the intake as well.How to test?
disabled
to make the 1099R income eligible for id intakes, maybe this was a bad idea?