Web Client: Possible to Make a 0.00, (Zero), Payment

Bug #1777940 reported by John Amundson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

Evergreen Web Client 3.0.8

In the web client, it is possible to apply a 0.00 payment from the a patron's bills screen.

Entering a payment of 0.00 will not activate the "Apply Payment" button. However, entering a slightly larger amount, such as 0.004, will. The system will round the payment to 0.00 both in the client and database. The payment of zero dollars will still be applied and show in the bill payment history.

This does not happen in the XUL client. Entering a payment like 0.004 results in a "No payments or patron credit applied." dialog box.

Tested in both Google Chrome and Firefox.

Tags: circ-billing
Revision history for this message
John Amundson (jamundson) wrote :
Revision history for this message
Rogan Hamby (rogan-hamby) wrote :

There is something of an internationalization question with this. I know that few countries use more than two decimal places in their currencies (a handful that use dinars do) so in a perfect world it would be nice for Evergreen to be more aware of varying currencies. However, that would also be a good bit of work to accommodate users that if they are using Evergreen aren't active in the community. Not that the rounding current behavior still isn't working for them. Should we take the easy road on this and just say we only accept two decimal places? I've talked myself around to the idea that we should until someone with the vested interest for otherwise has the tuits but wanted to propose the wider question in case anyone wants to weigh in otherwise.

Dan Pearl (dpearl)
Changed in evergreen:
assignee: nobody → Dan Pearl (dpearl)
Dan Pearl (dpearl)
Changed in evergreen:
assignee: Dan Pearl (dpearl) → nobody
tags: removed: webstaffclient
Revision history for this message
Michele Morgan (mmorgan) wrote :

I am not able to reproduce creating a $0.00 payment on Master circa 3.7.

If I follow John's steps, I am able to enter .004 in the Payment Received box and click Apply Payment, but the $0.00 payment is not created in the database.

It is confusing that the screen refreshes as if a payment was being made, but no payment is actually made.

I would be in favor of Rogan's suggestion that we accept 2 decimal places until there's interest in exploring another approach.

I'd like to see the Apply Payment button remain greyed out unless Payment Received >= .01

tags: added: circ-billing
removed: billing
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.