Done
Details
Assignee
Artem BlazhkoArtem BlazhkoReporter
Holly MistlebauerHolly MistlebauerLabels
Priority
P2Story Points
2Sprint
NoneDevelopment Team
VegaParent
Fix versions
RCA Group
Incomplete/missing requirementsTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Artem Blazhko
Artem BlazhkoReporter
Holly Mistlebauer
Holly MistlebauerLabels
Priority
Story Points
2
Sprint
None
Development Team
Vega
Parent
Fix versions
RCA Group
Incomplete/missing requirements
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created May 19, 2022 at 4:31 PM
Updated October 25, 2023 at 11:09 AM
Resolved June 7, 2022 at 7:45 PM
Overview
When we originally added the cancel fee/fine as an error option (see Fee/Fine Details page ERROR button and Fees/Fines History page ellipsis option ERROR), it was decided that only fees/fines with no ACTIONS against them would be allowed to be cancelled as an error. We need to change that validation to allow a fee/fine to be cancelled as an error if the remaining balance equals the billed amount, regardless of ACTIONS that may have taken place.
Real Life Example
A patron asks to rent a carrel at the Main Library and pays the 30.00 fee.
The patron realizes that the Science Library is a better location for her to use.
The patron comes back to Main Library to request a refund of the 30.00.
The library staff member opens the "Refund fee/fine" modal and refunds the 30.00 to the patron.
After this happens, the fee/fine Remaining amount will go from 0.00 back to the original 30.00 the patron was billed.
The library staff member wants to then cancel the fee/fine, but cannot because there have been ACTIONS on it.
Instead, the library staff member will have to waive the fee/fine. This implies that the patron still has the carrel in Main Library, but we have decided to not make them pay for it.
That is not actually what happened in this case. We need to be able to cancel the fee/fine as an error in situations like this.
Steps to Reproduce
Login to Lotus BugFest as an admin user.
Fine a test patron and bill them a manual fee/fine.
Have the patron pay the manual fee/fine.
Refund the patron for what they paid for the manual fee/fine.
Attempt to cancel the fee/fine as an ERROR.
Actual Result
ERROR button in Fee/Fine Details is grayed out.
ERROR option in Fees/Fines History ellipsis is grayed out.
Expected Result
ERROR button in Fee/Fine Details is active, and cancels the fee/fine as an error if pushed.
ERROR option in Fees/Fines History ellipsis is active, and cancels the fee/fine as an error if selected.
Related Info
Holly has created https://folio-org.atlassian.net/browse/UXPROD-3645#icft=UXPROD-3645 to change the Refund fee/fine modal to allow the library staff member to indicate that the fee/fine should be canceled at the time of the refund. This is the ideal solutions. It might make more sense to work on https://folio-org.atlassian.net/browse/UXPROD-3645#icft=UXPROD-3645 instead of this story, although more work is required.|