-
Notifications
You must be signed in to change notification settings - Fork 14
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
Request an Offering Change - Student View Request #1978
Closed
13 of 15 tasks
Comments
This was referenced Jun 6, 2023
sh16011993
added a commit
that referenced
this issue
Aug 16, 2023
sh16011993
added a commit
that referenced
this issue
Aug 31, 2023
## **As a part of this PR, the follow tasks were completed:** - [x] Added a view request link in requests and history assessment table which redirects to view request page. - [x] Added the logic to the "Review changes" button to redirect to the view request page. - [x] On the view request page, added tabs for "Requested change" and "Active application details". - [x] Added migration scripts to add `student_consent` column in the `application_offering_change_requests` relation in the database. - [x] Created modal with SABC declaration when "Allow change" is clicked. - [x] Created modal to decline the application offering change request when "Decline change" is clicked. - [x] Created migration scripts to add the declaration attribute to the application offering change request entity. - [x] Added toast message for "allow" and "decline" scenarios -- "Your decision has been submitted successfully". - [x] Renamed the "Active application details" tab to "Previous application details" in the view request page when the ministry approves the application offering change request. - [x] Enabled the route redirection back to the application tracker after the student submits the application offering change request. - [x] Removed the "Decline change" and "Allow change" buttons when student submits the application offering change request decision. - [x] The logic for the below scenarios was adjusted: 1. Text under the "Application Details" and "Request Details" headings is only displayed when the application offering change request is "In progress with student." 2. Program costs are not shown for the students. 3. Status next to the student name reflects the feature status. # **Screenshots** ### View Request Link in the Requests and History Tables <img width="1918" alt="image" src="https://github.com/bcgov/SIMS/assets/7859295/f9ee51f9-ac00-4877-b3c5-3540ed7b670e"> ### "Requested change" tab <img width="1917" alt="image" src="https://github.com/bcgov/SIMS/assets/7859295/e1910580-d2fa-4b09-af3d-9a49fe7b75ed"> ### "Active application details" tab <img width="1917" alt="image" src="https://github.com/bcgov/SIMS/assets/7859295/0bf67b82-13c1-4785-b85b-b6db234db69f"> ### Decline Application Offering Change Request Modal <img width="1916" alt="image" src="https://github.com/bcgov/SIMS/assets/7859295/2587e3c9-e3c2-450c-8fc0-88836cee5e3c"> ### Approve Application Offering Change Request Modal <img width="1914" alt="image" src="https://github.com/bcgov/SIMS/assets/7859295/67fce378-90d5-441d-a3d3-833c848e9e97"> ### Application Offering Change Request in progress with SABC <img width="1916" alt="image" src="https://github.com/bcgov/SIMS/assets/7859295/4ea29b39-8e9e-4d12-bde6-d3641b7c49cc"> ### Application Offering Change Request Approved by SABC <img width="1914" alt="image" src="https://github.com/bcgov/SIMS/assets/7859295/60ccff31-e20a-4e54-9189-7077facc8605"> ### Validation Error in the Approve Application Modal Dialog when the student consent is not given <img width="1917" alt="image" src="https://github.com/bcgov/SIMS/assets/7859295/a43c60d0-7929-424f-8a1b-fffb3b51768a"> ### **Note:** As per discussion with the team, I have not created a common component for the two tabs: "Requested details" and "Active application details". ## **Next PR:** - [ ] **e2e tests**
sh16011993
added a commit
that referenced
this issue
Aug 31, 2023
sh16011993
added a commit
that referenced
this issue
Sep 7, 2023
…(Part 2) (#2240) As a part of this PR, the following task was completed - [x] The below test cases were written for the controller `ApplicationOfferingChangeRequestStudentsController` and controller `EducationProgramOfferingStudentsController` endpoints: - `getApplicationOfferingChangeRequest` √ Should return the application offering change request details when provided with the application offering change request id. √ Should throw a HttpStatus Not Found (404) when the application offering change request is not associated with the authenticated student. - `getApplicationOfferingChangeRequestStatus` √ Should return the application offering change request status when provided with the application offering change request id. √ Should throw a HttpStatus Not Found (404) when the application offering status change request is not associated with the authenticated student. - `updateApplicationOfferingChangeRequest` √ Should update the application offering change request status for the provided application offering change request id. √ Should throw a HttpStatus Not Found (404) error when an application offering change update is requested for an application not in completed state. √ Should throw a HttpStatus Not Found (404) error when an application offering change is not associated with the authenticated student. √ Should throw a HttpStatus Not Found (404) error when an application offering change is not in a valid status to be updated. √ Should throw a HttpStatus Unprocessable Entity (422) error when an invalid application offering change request is made. √ Should throw a HttpStatus Unprocessable Entity (422) error when student consent is not provided. - `getOfferingSummaryDetails` √ Should get the offering simplified details, not including the validations, approvals and extensive data when the provided purpose is application-offering-change. √ Should throw the Not Found (404) exception when the student is not authorized for the provided offering. √ Should throw the Not Found (404) exception when the offering summary purpose is not provided.
sh16011993
added a commit
that referenced
this issue
Sep 8, 2023
The following two scenarios are fixed: 1) Approve application offering change request through the application offering change request dialog. 2) Text under the Application Details and Request Details headings is only displayed when "In progress with student." They are omitted after the student approves or declines.
sh16011993
added a commit
that referenced
this issue
Sep 8, 2023
The following two scenarios are fixed: - **Problem:** Application Offering Change Request Status was not sent in payload. **Fix:** Application Offering Change Request Status is being set to `InProgressWithSABC` in the payload. - **Problem:** Text under the Application Details and Request Details headings was only omitted when the application offering change request was approved by the ministry. **Fix** As per the requirement, text under the Application Details and Request Details headings is only displayed when "In progress with student." They are omitted after the student approves or declines.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Figma
Mockups (Student)
https://www.figma.com/file/9Om2tzLAVEoMQrjmrH4fhu/MOD-SIMS?type=design&node-id=11899-182182&t=6xXoEnLBmBwlyfHq-0
Mockups (Workflow - end to end journey)
https://www.figma.com/file/9Om2tzLAVEoMQrjmrH4fhu/MOD-SIMS?type=design&node-id=11899-182182&t=cHzOlNb6QSEFAbFH-0
Scenario
Acceptance Criteria
Questions
Related tickets
The text was updated successfully, but these errors were encountered: