projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
search for missing/outdated census tract, RT#86245
[freeside.git]
/
httemplate
/
elements
/
tr-select-taxproduct.html
diff --git
a/httemplate/elements/tr-select-taxproduct.html
b/httemplate/elements/tr-select-taxproduct.html
index
9512224
..
547f066
100644
(file)
--- a/
httemplate/elements/tr-select-taxproduct.html
+++ b/
httemplate/elements/tr-select-taxproduct.html
@@
-1,4
+1,4
@@
-% if ( $conf->
exists('enable_taxproducts') ) {
+% if ( $conf->
config('tax_data_vendor') ) { # still not quite right
<%include('tr-td-label.html', @_) %>
<TD <% $cell_style %>><% include('select-taxproduct.html', @_) %></TD>
</TR>
<%include('tr-td-label.html', @_) %>
<TD <% $cell_style %>><% include('select-taxproduct.html', @_) %></TD>
</TR>
@@
-9,10
+9,10
@@
<%init>
<%init>
-my $conf = new FS::
c
onf;
+my $conf = new FS::
C
onf;
my %opt = @_;
my $cell_style = $opt{cell_style} ? 'STYLE="'. $opt{cell_style}. '"' : '';
my %opt = @_;
my $cell_style = $opt{cell_style} ? 'STYLE="'. $opt{cell_style}. '"' : '';
-my $name = $opt{
name
} || 'taxproductnum';
+my $name = $opt{
element_name} || $opt{field
} || 'taxproductnum';
</%init>
</%init>