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.
Late fee calculation should be a model method #1162
Closed
Description
Currently, we calculate the late fee for a given reservation in the relevant view (/reservations/:id
) and in the relevant e-mail body; this logic should be in the model method and it should be dependent on whether or not the reservation is checked-in (e.g. either calculate estimate based on today's date if not checked in or calculate final fee).
Activity