Princeton-CDH / mep-django

Shakespeare and Company Project - Python/Django web application
https://shakespeareandco.princeton.edu
Apache License 2.0
5 stars 1 forks source link

Multiple Reimbursements, Same Day #737

Closed jkotin closed 2 years ago

jkotin commented 3 years ago

The database doesn't seem to allow the same member to receive multiple reimbursements on the same day. (On June 16, 1942 Denise Lafoy received a deposit reimbursement and a refund for an unused membership.) Currently the database checks account and date for uniqueness. A solution would be to check $ amount as well.

(So far I have sound two relevant cases: Denise Lafoy and Thomas on Nov. 13, 1940.)

jkotin commented 2 years ago

Perfect.

Same dates --> OK. Same dates and same amount --> Not OK.