[freeside-commits] freeside/httemplate/edit/elements ApplicationCommon.html, 1.6, 1.7

Ivan,,, ivan at wavetail.420.am
Sat Dec 19 14:52:49 PST 2009


Update of /home/cvs/cvsroot/freeside/httemplate/edit/elements
In directory wavetail.420.am:/tmp/cvs-serv3844

Modified Files:
	ApplicationCommon.html 
Log Message:
fix fill-in of credit amount when there aren't tax buttons

Index: ApplicationCommon.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/elements/ApplicationCommon.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ApplicationCommon.html	18 Dec 2009 18:20:36 -0000	1.6
+++ ApplicationCommon.html	19 Dec 2009 22:52:47 -0000	1.7
@@ -105,7 +105,7 @@
 
   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 @@
   }
 
   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;
 %}



More information about the freeside-commits mailing list