[open-ils-commits] [GIT] Evergreen ILS branch master updated. 4efaa63d2a35038bc2841e883f3cd0baafd849ef
Evergreen Git
git at git.evergreen-ils.org
Wed May 23 11:23:13 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, master has been updated
via 4efaa63d2a35038bc2841e883f3cd0baafd849ef (commit)
from 835bac82ee0e6fc1fc775f1308c5c08b6b04eeaf (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 4efaa63d2a35038bc2841e883f3cd0baafd849ef
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