summaryrefslogtreecommitdiff
path: root/httemplate/misc/batch-cust_pay.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-06-19 15:29:44 -0700
committerIvan Kohler <ivan@freeside.biz>2013-06-19 15:29:44 -0700
commitb5c544bc1897ef759e5d198aff3bf173247de1bf (patch)
tree894c4ad1e04ce038e192281a9297d3bbc2594632 /httemplate/misc/batch-cust_pay.html
parentc5b04776fb253b2077951ed3641d7b7d36258391 (diff)
parent5778beb6849b2383068aa7c627e6968fe92419eb (diff)
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH
Diffstat (limited to 'httemplate/misc/batch-cust_pay.html')
-rw-r--r--httemplate/misc/batch-cust_pay.html2
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;