Claim returned-4: Display billed fees/fines as "Suspended" on User Information when item claimed returned (plus add "Refund" total)

Description

Summary
Need to display total number of suspended fees/fines due to the patron claiming the items has been returned. Also display number of refunds the patron has received. The libraries want a general idea of how often the patron has done both.

Mock-up
See attached mock-up Claim-returned-user-information.jpg for details.

Scenarios

  1. Scenario
    Given patron with open fees/fines with current payment status = "Suspended claim returned"
    When displaying existing "9 open fees/fines (Total: 999.99)" on User Information page
    Then...

    • Include suspended fee/fine in count of open outstanding fees/fines

    • Exclude suspended fee/fine in total of open outstanding fees/fines

  2. Scenario
    Given patron with open fees/fines with current payment status = "Suspended claim returned"
    When displaying new "9 suspended claim returned fees/fines (Total: 999.99)" on User Information page
    Then...

    • Include suspended fee/fine in count of open suspended claim returned fees/fines

    • Include suspended fee/fine in total of open suspended claim returned fees/fines

  3. Scenario
    Given patron with open/closed fees/fines with "action" of "Refunded fully" or "Refunded partially"
    When displaying new "9 refunded fees/fines (Total: 999.99)" on User Information page
    Then...

    • Include fully/partially refunded fee/fine in count of all refunded fees/fines

    • Include full/partial fee/fine amount in total of all refunded fees/fines

Environment

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Holly MistlebauerMay 28, 2021 at 6:42 PM

Holly found one issue with this on SNAPSHOT.  She reported the error as bug .  Thanks...

Holly MistlebauerApril 9, 2021 at 4:09 PM

Looks perfect!  Thanks!

Christian CruzApril 9, 2021 at 8:57 AM
Edited

  can you check if it is correct:

The result looks like this

 

I think the scenarios are covered, but I would like to review the numbers before doing the pull request.

 

Holly MistlebauerMarch 26, 2021 at 5:09 PM

Refunds are done, so go ahead and do Scenario 3.

Christian CruzMarch 25, 2021 at 10:57 PM

Hi

Can you explain the next point further?

Note: If refunds are not finished Holly will create a separate user story for this scenario (Scenario 3)

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Development Team

UNAM

Fix versions

Release

R2 2021

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created May 2, 2020 at 12:17 AM
Updated November 14, 2022 at 1:41 PM
Resolved May 28, 2021 at 6:42 PM
TestRail: Cases
TestRail: Runs