[freeside-commits] freeside/httemplate/elements tr-select-taxclass.html, 1.6, 1.7 select-taxclass.html, 1.8, 1.9
Ivan,,,
ivan at wavetail.420.am
Tue Jun 30 22:34:45 PDT 2009
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv24747/httemplate/elements
Modified Files:
tr-select-taxclass.html select-taxclass.html
Log Message:
add tax class selection back for late charges w/1.9 events, RT#5665
Index: select-taxclass.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/select-taxclass.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- select-taxclass.html 30 Jun 2009 19:38:57 -0000 1.8
+++ select-taxclass.html 1 Jul 2009 05:34:43 -0000 1.9
@@ -1,6 +1,6 @@
% if ( $conf->exists('enable_taxclasses') ) {
- <SELECT NAME="<% $opt{'name'} || 'taxclass' %>">
+ <SELECT NAME="<% $opt{'element_name'} || $opt{'field'} || 'taxclass' %>">
% if ( $conf->exists('require_taxclasses') ) {
<OPTION VALUE="(select)">Select tax class
@@ -16,7 +16,7 @@
% } else {
- <INPUT TYPE="hidden" NAME="taxclass" VALUE="<% $selected_taxclass %>">
+ <INPUT TYPE="hidden" NAME="<% $opt{'element_name'} || $opt{'field'} || 'taxclass' %>" VALUE="<% $selected_taxclass %>">
% }
Index: tr-select-taxclass.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-select-taxclass.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- tr-select-taxclass.html 30 Jun 2009 19:38:57 -0000 1.6
+++ tr-select-taxclass.html 1 Jul 2009 05:34:43 -0000 1.7
@@ -9,7 +9,11 @@
<TR>
<TD ALIGN="right"><% $opt{'label'} || 'Tax class: ' %></TD>
<TD>
- <% include( '/elements/select-taxclass.html', 'curr_value' => $selected_taxclass, %opt ) %>
+ <% include( '/elements/select-taxclass.html',
+ 'curr_value' => $selected_taxclass,
+ %opt
+ )
+ %>
</TD>
</TR>
More information about the freeside-commits
mailing list