BUG: Institution: 0 is removed from the Exceptional costs field and an information message is displayed after a new offering is created
Describe the Bug When an offering is created with "0" Exceptional costs, when you go back into the offering (edit), the "0" is removed from the exceptional cost field and an information message is displayed below the study costs.
Institution user would not know that their is an information message
Expected Behaviour "0" in Exceptional cost field was saved No information message is displayed
Actual Behaviour 0 is removed from the Exceptional costs field and an information message is displayed below the study costs.
Adding a "0" back in the Exceptional costs field immediately clears the warning message.
Note: Adding a "1" or other numbers greater (>) than "0" (up to 999,999) does not provide the information message.
** Steps To Reproduce**
Preconditions BC Public institution is created Program that allows PT is created
- Go to a test BC Public institution to the program that was created above
- Click on 'Add offering.'
- Add any name
- Add any year
- Offered: PT
- Course load: 40
- Delivered: onsite
- WIL: no
- Study dates: 16 weeks (e.g. Sept. 4, 2024 - Dec. 20, 2024)
- Study breaks: no
- Study costs (enter generic study costs that have been used throughout assessment testing) Tuition: 10,000 Books and Supplies: 1,500 Miscellaneous costs: 2,500 Exceptional costs: 0 (double check that the 0 is there)
- Study availability: yes
- Declaration: Select checkbox
- Watch the exceptional cost field
- Click "Validate" button
- Click "Add offering now" button
- Offering created success message is displayed
- Offering is displayed in the study period offerings table with Approved status
- Click "Edit" link to edit the offering
- Scroll down the page
- Review below the study costs section
- Repeat with a FT offering