Details
-
Story
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
None
-
-
Core: F - Sprint 96, Core: F - Sprint 97
-
5
-
Prokopovych
Description
NOTE: SAME SCENARIOS AS WITH DECLARED LOST
Purpose: Once the patron has paid for the item (or the associated fines have otherwise been taken care of - for example, if the library waives them), the loan can be closed.
The lost item fee policy will specify that either the actual cost of the item is charged or a set cost for a lost item is charged (in addition to a lost item processing fee). This story covers scenarios where the set cost is charged (automated).
Scenarios:
- Scenario
- Given a loan that has been aged to lost and billed (Loan Record lostItemHasBeenBilled = 'true) with the following fees assigned:
- no lost item processing fee
- charge amount for item is set cost > 0
- When the charge amount for item fee has been closed
- Then:
- close the loan
- change item status to Lost and paid
- Given a loan that has been aged to lost and billed (Loan Record lostItemHasBeenBilled = 'true) with the following fees assigned:
- Scenario
- Given a loan that has been aged to lost and billed (Loan Record lostItemHasBeenBilled = 'true) with the following fees assigned:
- some lost item processing fee > 0
- charge amount for item is set cost = 0.00
- When the lost item processing fee has been closed
- Then:
- close the loan
- change item status to Lost and paid
- Given a loan that has been aged to lost and billed (Loan Record lostItemHasBeenBilled = 'true) with the following fees assigned:
- Scenario
- Given a loan that has been aged to lost and billed (Loan Record lostItemHasBeenBilled = 'true) with the following fees assigned:
- some lost item processing fee > 0
- some charge amount for item > 0
- When both the lost item processing fee and the charge amount fee have been closed
- Then:
- close the loan
- change item status to Lost and paid
- Given a loan that has been aged to lost and billed (Loan Record lostItemHasBeenBilled = 'true) with the following fees assigned:
- Scenario
- Given a loan that has been aged to lost and with the following fees assigned:
- some lost item processing fee > 0 or 0
- some charge amount for item of actual cost type
- When the lost item processing fee has been closed
- Then:
- do NOT close the loan
- do NOT change item status to Lost and paid
- Given a loan that has been aged to lost and with the following fees assigned:
Notes:
- If the Actual cost fee has not been charged to the patron yet, but is expected according to the fee/fine policy, the loan should not be closed.
- Whether or not an Actual cost fee is owed should be determined when the item is aged to lost. If some aspect determining the circulation rule/lost item fee policy changes between when the item was aged to lost and when the fees were charged or paid, adhere to the lost item fee policy in place when the item was aged to lost.
- Other fees or fines may exist on the loan that are not related to its being aged to lost. These should not block the loan from closing once all lost item fees are paid.
TestRail: Results
Attachments
Issue Links
- clones
-
CIRC-743 Closing declared lost loan (Lost and paid status) for set cost
-
- Closed
-
- defines
-
UXPROD-87 Loan: Aged to Lost using SET COST
-
- Closed
-
- has to be finished together with
-
UIU-1500 Aged to lost: Closing (Lost and paid status) - SET COST
-
- Closed
-
-
CIRC-878 Backend - Aged to lost: Close loans when no fees charged - SET COST
-
- Closed
-
- is cloned by
-
CIRC-1566 BACKEND - Aged to lost: Closing "Lost and paid" status - ACTUAL COST
-
- In Code Review
-
- relates to
-
CIRC-927 Aged to lost billed date should be based on when item was aged to lost
-
- Closed
-