Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
EPAM-Veg Sprint 144, EPAM-Veg Sprint 145, EPAM-Veg Sprint 146, EPAM-Veg Sprint 147, EPAM-Veg Sprint 148
-
3
-
Vega
-
Nolana (R3 2022)
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 billed
- Some Lost Item Fee using ACTUAL COST > 0
- When the ACTUAL COST Lost 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
- Some Lost Item Fee using ACTUAL COST > 0
- When both the Lost Item Processing Fee and the ACTUAL COST Lost Item 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 billed (Loan Record lostItemHasBeenBilled = 'true) with the following fees assigned:
- No Lost Item Processing Fee billed
- Lost Item Fee Policy set to use ACTUAL COST
- ACTUAL COST Lost Item Fee not ever billed
- When the Lost Item Fee Policy setting "For lost items not charged a fee/fine, close the loan after" interval has been reached
- 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
- Lost Item Fee Policy set to use ACTUAL COST
- ACTUAL COST Lost Item Fee not ever billed
- When the Lost Item Processing Fee has been closed and Lost Item Fee Policy setting "For lost items not charged a fee/fine, close the loan after" interval has been reached
- 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:
TestRail: Results
Attachments
Issue Links
- clones
-
CIRC-877 Backend - Aged to lost: Closing (Lost and paid status) - SET COST
-
- Closed
-
- defines
-
UXPROD-2391 Loan: (BE) Declared Lost/Aged to Lost using ACTUAL COST
-
- Closed
-