Skip to content
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

Dependent birth year warning #186829970 #4458

Open
wants to merge 41 commits into
base: main
Choose a base branch
from

Conversation

tofarr
Copy link
Contributor

@tofarr tofarr commented Apr 9, 2024

I follow the general pattern established in the NY County page for this (albeit with a new component for date field warnings).

When putting in a DOB for a dependent, you now get a warning if they have EligibleForChildTaxCreditInd and the value you put in is >= 2006-12-31
image

If the intake is NY (Not AZ) and the dependent appears on Schedule EIC, check year of birth against year entered and show this message:
image

Copy link

github-actions bot commented Apr 9, 2024

Heroku app: https://gyr-review-app-4458-9fb9fbc0a582.herokuapp.com/
View logs: heroku logs --app gyr-review-app-4458 (optionally add --tail)

</div>
<% elsif ff.object.ctc_qualifying %>
<div class="form-group">
<%= ff.warning_for_date(ff.object_name, MultiTenantService.statefile.end_of_current_tax_year.years_ago(17), nil, t(".dependent_dob_under_17_warning")) %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment in #4463

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants