SIMS
SIMS copied to clipboard
Overawards: UI update
As a Ministry User, I would like overawards page to function like a ledger.
Acceptance Criteria
Add and Remove Overawards Buttons
- [ ] On the Balance Page of Student Profile, display two buttons for Overawards adjustments: Add Overawards and Remove Overawards. Remove "Add manual record" button.
- [ ] Apply the same set of permissions to both buttons as we have now for "Add manual record button"

Add Overwards Form
- [ ] When the User clicks "Add Overwards", display the "Add overawards" form.
- [ ] The amount entered by the User should be added to the corresponding award, bringing balance Up.
- [ ] Allow user to enter only non-negative numbers. Display a warning message if they try to enter negative number.
- [ ] Replace "Add a record to capture that the student paid back their loans through the National Student Loans Service Centre (NSLSC)." with "Add a record to capture that the student owes money on their loans."
- [ ] Replace "overward deduction amount is required" with "overaward amount is required" in error handling message
- [ ] Remove "You can also include a negative values to remove a data entry error".

Remove Overawards Form
- [ ] When the User clicks "Remove Overwards" button, display the "Remove overawards" forms that mimics current "Add manual record" form, but replace "Add manual record" with "Remove overwards".
- [ ] Remove "You can also include a negative values to remove a data entry error".
- [ ] In error handling messages replace "overward deduction amount is required" with "overaward amount is required".
- [ ] The amount entered by the User should be subtracted from the corresponding award, bringing balance Down (current behaviour).
- [ ] Allow user to enter only non-negative numbers. Display a warning message if they try to enter negative number.
Overwards Adjustments Table
- [ ] Rename "Overaward deductions" into "Overaward adjustments"
- [ ] Remove "History of money that was deducted... " text
- [ ] In "Origin" column, if user adds overawards, display "Manually added". If user removes overawards, display "Manually removed". For automatically calculated overawards, replace "Award deducted" with "Overaward added"
- [ ] In "Amount Deducted" column, display the values in non-negative format.
- [ ] Rename "Amount Deducted" column into "Amount Adjusted"

Remove Overawards Table
- [ ] Merge entries currently generated in Overawards table into Overaward Adjustments Table. Drop "Type" column.
- [ ] Remove Overawards Table
