Bug 28271 added the ability to apply a new lost status when resolving a claim. We should also add the ability to charge a replacement fee.
Many libraries do not charge a replacement fee when a claim is generated. If the item is not found within the time period allowed by library policy, then the item is assumed lost, the claim is resolved, and the item is set to lost. At that point, the library would like to charge the patron. As things stand, there is not a way to generate a lost fee tied to that issue_id. You'd have to either create a manual invoice or return the item, check it back out to the patron, and mark it lost again.
This should be done on top of bug 28588, for sure.
Andrew, how do you think this should work? From the user perspective? Should it be the replacement cost? Should it be added manually in the claim resolution modal?
It should be the replacement fee (plus processing fee, if any).
We've got ClaimReturnedChargeFee with the options of do charge a fee, don't charge a fee, or give the choice to the user as they claim something.
I'd like a parallel syspref for ClaimReturnedResolutionChargeFee with the options to charge, don't charge, or give the choice to the user as they resolve something.
It should not ever create a *second* lost fee if the library is already charging at the point of Claim, and it should only charge at resolution if you're moving the item from Claims Returned to some other non-zero lost status. And the wording of the syspref should make that clear.
"When resolving a claim and setting an item to lost (charge a lost fee / don't charge a lost fee / ask if a lost fee should be charged). If a fee was already generated based on ClaimReturnedChargeFee, this preference will not generate an additional fee."