Skip to content
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
Closed
@orenyk

Description

@orenyk

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions