SIMS icon indicating copy to clipboard operation
SIMS copied to clipboard

Content - Income declaration tax year dynamic year numbers

Open Joshua-Lakusta opened this issue 1 year ago • 1 comments

Display dynamic year numbers for the application for income years.

Acceptance Criteria Student portal / Application Financial section

  • [ ] Replace the tax year 2020 for all program year options. Change it to dynamic value. Shown value = first year of the program year - 1 (example 2024-2025 program year would be 2023 (2024-1 = 2023) (see 4 spots where the updates are needed for this question shown in context image 1)) image.png

  • [ ] Resolve Bug in current state that does not show the expected value. Attempted dynamic value has the wrong year but is also showing incorrect value. If the bug still exists.

Student Portal Family section :

Dependants with disability question

  • [ ] Replace 20XX Tax Year with new dynamic value for all program years. Shown value = first year of the program year - 1 (example 2024-2025 program year would be 2023 (2024-1 = 2023) (see 2nd image content image for locations in question)
  • [ ] Complete the same change for the change request version of this questions document uploader using the same details as the change to the application. (Change request is under the Add/Remove dependant change request) image.png

Student declares Partner income

  • [ ] Update the content for the authorization line of supplying partner income in the application and the Partner information and income change request to the following:

I have been authorized by my spouse/common-law partner to submit their financial information, including their total reported income from their insert year tax return.

  • [ ] Update the content above partner income self declare field (see image below location bullet #1) question to show the following for both the application question and Partner information and income change request

Enter your partners reported total income from line 15000 of their "insert year" income tax return. If they did not file a "insert year" income tax return, enter their total income from all sources both inside and outside of Canada.

  • [ ] Replace "insert year" (3 numbered locations in image below) in the content with dynamic year information for all program years. Shown value = first year of the program year - 1 (example 2024-2025 program year would be 2023 (2024-1 = 2023)
  • [ ] Complete this dynamic update for the change request as well. Change request is the Partner information and income change request
image.png

Additional Context Currently the application says 2020 tax year for all applications

Technical

  • [ ] Student application already has a hidden field for the current income and also displays a dynamic year, following the same for the tax year. If the dynamic field is not being updated, checked the properties in the ones already in place.

Technical context As shared by @dheepak-aot the dynamic areas should have a property defined as, for instance: "redrawOn": "calculatedTaxYear". Source code reference: https://github.com/bcgov/SIMS/blob/main/sources/packages/forms/src/form-definitions/studentfinancialinformationappeal.json#L75

Joshua-Lakusta avatar Jul 11 '24 20:07 Joshua-Lakusta

Please note. Had to update ticket to include updates to the change request version as well. I was under the impression that this was being handled in separate tickets that was already moving forward and ahead of this one but I was incorrect. The needed changes mirror the application changes and have added additional AC's to reflect this.

Joshua-Lakusta avatar Aug 14 '24 22:08 Joshua-Lakusta