accepts negative fine payment amounts

Bug #1418205 reported by Codey Kolasinski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Won't Fix
Low
Unassigned

Bug Description

Evergreen will accept a fine payment in a negative amount under specific circumstances. Here is the procedure I used on the patron bill screen. Numbers are arbitrary:

Create a bill on the patron record for $10
pay $4 of the bill
void the bill creating a balance of negative $4
enter '-3' into the 'payment received' field and without clicking anywhere else press 'apply payment'
the payment will be accepted and the fine will disappear regardless of balance

To reproduce, you'll need to go directly from entering the negative payment amount to the 'apply payment' button. There is a nice safety feature that if a negative amount is entered into the 'payment received' field the amount will be zeroed out if a user clicks out of the box. But this safety feature does not appear to work when a user goes directly from the 'payment received' field to the 'apply payment' button.

Granted this will not be a problem for libraries that choose to automatically zero out negative balances using the future feature in this bug: https://bugs.launchpad.net/evergreen/+bug/1198465. However, this will still be a problem for libraries that choose not to automatically have them zeroed out by the system.

EG version 2.5.5
OpenSRF 2.4?
PostgreSQL 9.1.9
Debian 'squeeze'

Tags: billing
summary: - accepting negative fine payment amounts
+ accepts negative fine payment amounts
Revision history for this message
Shula Link (slink-g) wrote :

Confirmed as still present in 2.9.1 - it can occur on any negative balance, regardless of how that balance occurred (example - paid for lost item is returned and refunded, creating a negative balance - applying a negative payment of any amount to that bill will remove the item), and regardless of the amount of the negative balance.

Applying a payment of -2 to a balance of -29 removes the bill entirely, if "Apply Payment" is clicked directly after the negative payment is entered.

Changed in evergreen:
status: New → Confirmed
Dan Wells (dbw2)
Changed in evergreen:
importance: Undecided → Low
Revision history for this message
Michele Morgan (mmorgan) wrote :

This is no longer an issue in 3.6. The Apply Payment button is greyed out until a billing is selected and a non-negative amount is entered into Payment Received.

Marking Won't Fix.

Changed in evergreen:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.