[freeside-commits] branch FREESIDE_3_BRANCH updated. d4a8a4dde783d8b106e6ad423655bb5d48232960

Mark Wells mark at 420.am
Wed Jun 19 01:50:06 PDT 2013


The branch, FREESIDE_3_BRANCH has been updated
       via  d4a8a4dde783d8b106e6ad423655bb5d48232960 (commit)
      from  88c86b2900f92ebf3a95f8b2b01985ccee290673 (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 d4a8a4dde783d8b106e6ad423655bb5d48232960
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Jun 19 01:49:34 2013 -0700

    quick payment entry: correctly enable "Allocate" checkbox

diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html
index 0b2f1f1..04a402b 100644
--- a/httemplate/misc/batch-cust_pay.html
+++ b/httemplate/misc/batch-cust_pay.html
@@ -25,7 +25,7 @@ function custnum_update_callback(rownum, prefix) {
   var custnum = document.getElementById('custnum'+rownum).value;
   // if there is a custnum and more than one open invoice, enable
   // (and check) the box
-  var show_applications = (custnum > 0 && num_open_invoices[rownum] > 1);
+  var show_applications = !(custnum > 0 && num_open_invoices[rownum] > 1);
   var enable_app_checkbox = document.getElementById('enable_app'+rownum);
   enable_app_checkbox.disabled = show_applications;
 

-----------------------------------------------------------------------

Summary of changes:
 httemplate/misc/batch-cust_pay.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list