diff options
author | Mark Wells <mark@freeside.biz> | 2013-10-24 17:26:00 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-10-24 17:26:00 -0700 |
commit | 7427b3722522f049c9ebdb4ba3780a91b88c414f (patch) | |
tree | 8d103fd6761011f4af125bbee11fda6cfc860db8 /httemplate/search/report_cust_pkg.html | |
parent | 422e87b24b866eaa420258d97d4ccdc089019f88 (diff) |
disable old no_censustract and with_geocode search options and move to cust_pkg search, #23582
Diffstat (limited to 'httemplate/search/report_cust_pkg.html')
-rwxr-xr-x | httemplate/search/report_cust_pkg.html | 6 |
1 files changed, 6 insertions, 0 deletions
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> |