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

FYST-924 Implement Form 502CR #5010

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

Conversation

tahsinaislam
Copy link
Contributor

@tahsinaislam tahsinaislam commented Nov 20, 2024

Link to pivotal/JIRA issue

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

Is PM acceptance required? (delete one)

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

What was done?

  • Added in calculations, xml and pdf lines for MD502 CR lines for the summary and refund sections
  • Added in lines for MD502 line 24 and 43

How to test?

  • Added in unit tests for MD 502Cr and MD 502 for the calculator, xml and pdf

Screenshots (for visual changes)

Copy link

Heroku app: https://gyr-review-app-5010-51786d861c24.herokuapp.com/
View logs: heroku logs --app gyr-review-app-5010 (optionally add --tail)

@tahsinaislam tahsinaislam marked this pull request as ready for review November 21, 2024 22:48
@@ -74,13 +74,13 @@ def calculate
set_line(:MD502_LINE_22, :calculate_line_22)
set_line(:MD502_LINE_22B, :calculate_line_22b)

@md502cr.calculate
Copy link
Contributor

Choose a reason for hiding this comment

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

🤔 why did you move the calculator here as opposed to after MD502_LINE_21? do future calculations for 502cr depend on 22 and 22b?

[dust] it could be helpful to add a comment which lines 502CR depends on from 502 and vice versa.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it was more that i was moving it right before L24 because its the first line where md502 needs md502cr calculations but I'll move to being after L21 because L22-23 arent necessarily used for md502cr anyways. thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

ah, that makes sense!

Copy link
Contributor

@anisharamnani anisharamnani left a comment

Choose a reason for hiding this comment

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

everything looks good! i just have one minor comment. thanks @tahsinaislam 😸

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

Successfully merging this pull request may close these issues.

2 participants