[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. 4f52106913e59c1c40b2b8e7f0fac13b715e4e37
Evergreen Git
git at git.evergreen-ils.org
Wed May 23 11:23:35 EDT 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_3_1 has been updated
via 4f52106913e59c1c40b2b8e7f0fac13b715e4e37 (commit)
from fd72b5126d70002b1ed9718ecf44a7b7f6b64fc6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4f52106913e59c1c40b2b8e7f0fac13b715e4e37
Author: gcollum <gcollum at gmail.com>
Date: Fri May 18 20:10:49 2018 -0400
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 at gmail.com>
Signed-off-by: Cesar Velez <cesar.velez at equinoxinitiative.org>
Signed-off-by: Dawn Dale <ddale at georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx at gmail.com>
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 d37f336..b143175 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 @@
<button
type="submit"
class="btn btn-default"
- ng-disabled="invalid_check_number() || !gridControls.selectedItems().length || applyingPayment"
+ ng-disabled="!payment_amount || invalid_check_number() || !gridControls.selectedItems().length || applyingPayment"
>[% l('Apply Payment') %]</button>
</div>
</div>
-----------------------------------------------------------------------
Summary of changes:
.../src/templates/staff/circ/patron/t_bills.tt2 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list