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

display logic for Prev FY Carry Forward Card #3236

Open
Tracked by #310
fpigeonjr opened this issue Dec 17, 2024 · 1 comment
Open
Tracked by #310

display logic for Prev FY Carry Forward Card #3236

fpigeonjr opened this issue Dec 17, 2024 · 1 comment
Labels
Dev Frontend Ready Designers have created and finalized the designs, story has been refined, and ready for a Developer task task for an associated story or backlog item

Comments

@fpigeonjr
Copy link
Contributor

fpigeonjr commented Dec 17, 2024

If a multi-year CAN, this read only amount will appear on funding edit pages for all years after the first year. It is whatever money is left of the budget.

Image

@fpigeonjr fpigeonjr mentioned this issue Dec 17, 2024
35 tasks
@fpigeonjr fpigeonjr added task task for an associated story or backlog item Dev Frontend Ready Designers have created and finalized the designs, story has been refined, and ready for a Developer labels Dec 17, 2024
@fpigeonjr
Copy link
Contributor Author

  • A CAN is multi-year if its can.funding_details.active_period != 1
  • The first year of a CAN (in this context) is its "Appropriation Year" which is can.funding_details.fiscal_year
  • For a given FY y and CAN x, the carry forward value to display in the UI for a CAN should be the available_funding returned from /can-funding-summary with query params fiscal_year=y - 1 and can_ids=x if y > can.funding_details.fiscal_year else there is no carry forward value to display

👆per @johndeange

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev Frontend Ready Designers have created and finalized the designs, story has been refined, and ready for a Developer task task for an associated story or backlog item
Projects
None yet
Development

No branches or pull requests

1 participant