diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-06-19 15:29:55 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-06-19 15:29:55 -0700 |
commit | a6dd5bc6ba6c655b1707a016db4e97e269b718e5 (patch) | |
tree | a25c54ef8ae298779547a698ca23878cd4bb4870 /httemplate/misc/batch-cust_pay.html | |
parent | 66906f54d1099dcae84e69240c3a16bc9a82c37f (diff) | |
parent | b75f93f4842bcbb89fc220dba0291ede4d8af300 (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc/batch-cust_pay.html')
-rw-r--r-- | httemplate/misc/batch-cust_pay.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html index 0b2f1f18c..04a402bef 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; |