From: ivan Date: Sat, 19 Dec 2009 22:52:47 +0000 (+0000) Subject: fix fill-in of credit amount when there aren't tax buttons X-Git-Tag: root_of_svc_elec_features~613 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=1f2a50085dc7a294afc876b093352c88998b1b64 fix fill-in of credit amount when there aren't tax buttons --- 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; %}