]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1749994 Disable payment button pending payment amount
authorgcollum <gcollum@gmail.com>
Sat, 19 May 2018 00:10:49 +0000 (20:10 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 23 May 2018 15:23:41 +0000 (11:23 -0400)
commit9d0777cf4f58ed998c52be037d7738a9c53b4ead
tree6b509f8ee544783f367b587e18e26e1fb86c61de
parent8ff8b98bdd4d7f26c649ef63196a0200feeb89e6
LP1749994 Disable payment button pending payment amount

Apply payment button on patron bills screen should be inactive if Payment
Received is blank

Adds a test to see if there is a value in Payment Received input box. The
Apply Payment button doesn't activate unless a billing or billings is
selected and a numerical value is in Payment Received.

To test.
1. Add some billings to a patron's account.
2. Click some of the billings to select them. Notice that the Apply Payment
   button is active.
3. Apply patch
4. Select some of the billings.  The Apply Payment button is not active.
5. Enter some values into Payment Received.  If values other than numbers
   are entered the Apply Payment button is not activated.  If numbers are
   added the button is activated.
6. Uncheck all of the billings to see that the activated button deactivates,
   if no billings are checked.

Signed-off-by: gcollum <gcollum@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/circ/patron/t_bills.tt2