Done
Details
Details
Assignee
Roman Barannyk
Roman BarannykReporter
Holly Mistlebauer
Holly MistlebauerTester Assignee
Holly Mistlebauer
Holly MistlebauerPriority
Story Points
3
Sprint
None
Development Team
Vega
Parent
Fix versions
Release
Nolana (R3 2022)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created August 27, 2020 at 6:40 PM
Updated August 31, 2023 at 4:19 PM
Resolved September 14, 2022 at 1:48 PM
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
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
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
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
Dev details: https://folio-org.atlassian.net/wiki/display/DD/Close+loan+when+lost+item+fees+are+closed#Closeloanwhenlostitemfeesareclosed-6Usepub/subapproachoverview