projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d06f67e
)
fix for batch payment application, #22147
author
Mark Wells
<mark@freeside.biz>
Wed, 27 Mar 2013 02:49:08 +0000
(19:49 -0700)
committer
Mark Wells
<mark@freeside.biz>
Wed, 27 Mar 2013 02:50:06 +0000
(19:50 -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
887b924
..
ef06441
100644
(file)
--- a/
httemplate/misc/batch-cust_pay.html
+++ b/
httemplate/misc/batch-cust_pay.html
@@
-32,6
+32,13
@@
function custnum_update_callback(rownum, prefix) {
% }
}
% }
}
+function invnum_update_callback(rownum, prefix) {
+ custnum_update_callback(rownum, prefix);
+ var enable = document.getElementById('enable_app'+rownum);
+ enable.checked = true;
+ toggle_application_row.call(enable);
+}
+
function select_discount_term(row, prefix) {
var custnum_obj = document.getElementById('custnum'+prefix+row);
var select_obj = document.getElementById('discount_term'+prefix+row);
function select_discount_term(row, prefix) {
var custnum_obj = document.getElementById('custnum'+prefix+row);
var select_obj = document.getElementById('discount_term'+prefix+row);
@@
-198,7
+205,6
@@
function change_app_amount() {
&& amount_unapplied(rownum) > 0 ) {
create_application_row(rownum, parseInt(appnum) + 1);
&& amount_unapplied(rownum) > 0 ) {
create_application_row(rownum, parseInt(appnum) + 1);
-
}
}
}
}
@@
-352,6
+358,7
@@
function preload() {
footer_align => \@footer_align,
onchange => \@onchange,
custnum_update_callback => 'custnum_update_callback',
footer_align => \@footer_align,
onchange => \@onchange,
custnum_update_callback => 'custnum_update_callback',
+ invnum_update_callback => 'invnum_update_callback',
add_row_callback => 'add_row_callback',
&>
add_row_callback => 'add_row_callback',
&>