Skip to content

Conversation

@tahsinaislam
Copy link
Contributor

Link to pivotal/JIRA issue

https://codeforamerica.atlassian.net/browse/FYST-450

Is PM acceptance required? (delete one)

  • Yes - don't merge until JIRA issue is accepted!

What was done?

  • Add a methods to the D400 calculator to be able to calculate the right limit for NC subtractions. This method was then added to the controller and form for NC subtractions in order to put the limit on the view and also have the correct error message is the limit is exceeded.

How to test?

  • Unit test was updated to reflect the right limit

Screenshots (for visual changes)

  • Before
Screenshot 2024-12-02 at 4 58 07 PM - After Screenshot 2024-12-02 at 4 57 45 PM

@github-actions
Copy link

github-actions bot commented Dec 3, 2024

Heroku app: https://gyr-review-app-5066-4d81d648fbb9.herokuapp.com/
View logs: heroku logs --app gyr-review-app-5066 (optionally add --tail)

@tahsinaislam tahsinaislam marked this pull request as ready for review December 3, 2024 01:07
@tahsinaislam tahsinaislam force-pushed the FYST-1241-nc-federally-recognized-indian-tribe-subtraction-not-calculating-correctly branch from 05ab69d to 592b074 Compare December 3, 2024 17:17
Copy link
Contributor

@squanto squanto left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@tahsinaislam tahsinaislam merged commit 6c18465 into main Dec 4, 2024
4 checks passed
@tahsinaislam tahsinaislam deleted the FYST-1241-nc-federally-recognized-indian-tribe-subtraction-not-calculating-correctly branch December 4, 2024 00:19
tahsinaislam added a commit that referenced this pull request Dec 4, 2024
@tahsinaislam tahsinaislam restored the FYST-1241-nc-federally-recognized-indian-tribe-subtraction-not-calculating-correctly branch December 4, 2024 00:43
@tahsinaislam tahsinaislam deleted the FYST-1241-nc-federally-recognized-indian-tribe-subtraction-not-calculating-correctly branch December 4, 2024 00:44
tahsinaislam added a commit that referenced this pull request Dec 4, 2024
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.

3 participants