projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ef14d
)
quick payment entry: correctly enable "Allocate" checkbox
author
Mark Wells
<mark@freeside.biz>
Wed, 19 Jun 2013 08:49:54 +0000
(
01:49
-0700)
committer
Mark Wells
<mark@freeside.biz>
Wed, 19 Jun 2013 08:49:54 +0000
(
01:49
-0700)
httemplate/misc/batch-cust_pay.html
patch
|
blob
|
history
diff --git
a/httemplate/misc/batch-cust_pay.html
b/httemplate/misc/batch-cust_pay.html
index
0b2f1f1
..
04a402b
100644
(file)
--- 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;