summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/search/report_cust_main.html14
-rwxr-xr-xhttemplate/search/report_cust_pkg.html6
2 files changed, 6 insertions, 14 deletions
diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html
index ebff7fadb..1ceb48e1e 100755
--- a/httemplate/search/report_cust_main.html
+++ b/httemplate/search/report_cust_main.html
@@ -172,20 +172,6 @@
&>
<TR>
- <TD ALIGN="right" VALIGN="center"><% mt('Without census tract') |h %></TD>
- <TD><INPUT TYPE="checkbox" NAME="no_censustract"></TD>
- </TR>
-
-% if ( $conf->exists('enable_taxproducts') ) {
-
- <TR>
- <TD ALIGN="right" VALIGN="center"><% mt('With hardcoded tax location') |h %></TD>
- <TD><INPUT TYPE="checkbox" NAME="with_geocode"></TD>
- </TR>
-
-% }
-
- <TR>
<TD ALIGN="right" VALIGN="center"><% mt('With email address(es)') |h %></TD>
<TD><INPUT TYPE="checkbox" NAME="with_email"></TD>
</TR>
diff --git a/httemplate/search/report_cust_pkg.html b/httemplate/search/report_cust_pkg.html
index b3f2004b8..e75a0985b 100755
--- a/httemplate/search/report_cust_pkg.html
+++ b/httemplate/search/report_cust_pkg.html
@@ -190,6 +190,9 @@
<& /elements/tr-title.html, value => mt('Location search options') &>
% my @location_options = qw(cust nocust census nocensus);
+% if ( $conf->exists('enable_taxproducts') ) {
+% push @location_options, 'geocode', 'nogeocode';
+% }
<& /elements/tr-checkbox-multiple.html,
'label' => 'Where package location:',
'field' => 'loc',
@@ -198,6 +201,8 @@
'nocust' => "is not the customer's default location",
'census' => "has a census tract",
'nocensus' => "does not have a census tract",
+ 'nogeocode'=> 'has an implicit tax location',
+ 'geocode' => 'has a hardcoded tax location',
},
'value' => { map { $_ => 1 } @location_options },
&>
@@ -274,4 +279,5 @@ my %checkbox = (
'cancel' => 1,
);
+my $conf = FS::Conf->new;
</%once>