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.

[v3.4] Incorrect overdue fines in emails #876

Closed
@orenyk

Description

@orenyk

We're receiving reports from BMEC about incorrect overdue fines in that e-mail:

---------- Forwarded message ----------
From: [email protected]
Date: Thu, Jul 31, 2014 at 3:30 PM
Subject: [Reservation] Overdue equipment fine
To: [email protected]
Cc: [email protected]

Hi xxxxx xxxxx,

This is a notification for your late equipment checkin.

Equipment picked up: Canon Vixia HF R11 (Yellow Canon Vixia HF R11)

Checkout date: July 28, 2014 at 2:14pm

Due date: July 30, 2014

Checked in on July 31, 2014 at 3:30pm by xxxxx xxxxx.
Notes: == Notes from checkout == Notes from checkin

Your late fee is $35.00 per day, for a total of $4,977,875.00

Sincerely,
xxxxx

Other than the factor of 142,225 (such an odd number to be off by), I think we should try to figure out a better way to display the notes. The latter doesn't need to be patched to v3.4, but we should deal with it in #871. Let's clear up the fine calculation for v3.4.3.

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