[open-ils-commits] [GIT] Evergreen ILS branch rel_3_0 updated. 9d0777cf4f58ed998c52be037d7738a9c53b4ead

Evergreen Git git at git.evergreen-ils.org
Wed May 23 11:23:51 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_0 has been updated
       via  9d0777cf4f58ed998c52be037d7738a9c53b4ead (commit)
      from  8ff8b98bdd4d7f26c649ef63196a0200feeb89e6 (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 9d0777cf4f58ed998c52be037d7738a9c53b4ead
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 3ea9cc4..384655a 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