summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-12-19 22:52:47 +0000
committerivan <ivan>2009-12-19 22:52:47 +0000
commit1f2a50085dc7a294afc876b093352c88998b1b64 (patch)
tree1f77b8c8f105201e181d504ae1e9886d483a5b59
parent568e89d5b16f22a54669caee67409b948b1a7069 (diff)
fix fill-in of credit amount when there aren't tax buttons
-rw-r--r--httemplate/edit/elements/ApplicationCommon.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/elements/ApplicationCommon.html b/httemplate/edit/elements/ApplicationCommon.html
index ba352fdfb..459570511 100644
--- a/httemplate/edit/elements/ApplicationCommon.html
+++ b/httemplate/edit/elements/ApplicationCommon.html
@@ -105,7 +105,7 @@ function changed(what) {
if ( dst == '' ) {
what.form.submit.disabled=true;
-%if ($src_pkey eq 'crednum') {
+%if ($use_sub_dst_thing && $src_pkey eq 'crednum') {
what.form.tax_button.disabled=true;
what.form.clear_button.disabled=true;
%}
@@ -113,7 +113,7 @@ function changed(what) {
}
what.form.submit.disabled=false;
-%if ($src_pkey eq 'crednum') {
+%if ($use_sub_dst_thing && $src_pkey eq 'crednum') {
what.form.tax_button.disabled=false;
what.form.clear_button.disabled=false;
%}