From 4f52106913e59c1c40b2b8e7f0fac13b715e4e37 Mon Sep 17 00:00:00 2001 From: gcollum Date: Fri, 18 May 2018 20:10:49 -0400 Subject: [PATCH] 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 Signed-off-by: Cesar Velez Signed-off-by: Dawn Dale Signed-off-by: Bill Erickson --- Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 index d37f336fbd..b143175a30 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 @@ -87,7 +87,7 @@ -- 2.11.0