This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
Add late fee cap #1285
Closed
Description
Requested by CSSSI (I think):
We have decided we won’t charge more in fines than the item would cost to replace, but the system is calculating an amount based on number of days and daily fine charges.
We could add an extra option for equipment models (e.g. late_fee_max
) that would default to zero (no cap), but allow admins to specify a maximum late fee for a given model. Since we moved final late fee calculation to the Reservation
model (late_fee
), we can easily incorporate this logic there without changing anything else that expects a late fee (e.g. various views, e-mails, etc). Thoughts?
Activity