SureTax, #31639, #33015, #34598
[freeside.git] / httemplate / view / cust_main / billing.html
index 84241d2..0f794e3 100644 (file)
@@ -1,18 +1,4 @@
 <FONT CLASS="fsinnerbox-title"><% mt('Billing information') |h %></FONT>
-%# If we can't see the unencrypted card, then bill now is an exercise in
-%# frustration (without some sort of job queue magic to send it to a secure
-%# machine, anyway)
-%if (  $FS::CurrentUser::CurrentUser->access_right('Bill customer now')
-%      && ! $cust_main->is_encrypted($cust_main->payinfo)
-%   ) { 
-%#  (<A HREF="<% $p %>misc/bill.cgi?<% $cust_main->custnum %>"><% mt('Bill now') |h %></A>)
-  <& /elements/bill.html,
-       custnum   => $cust_main->custnum,
-       label     => emt('Bill now'),
-       url       => $p.'view/cust_main.cgi?'.$cust_main->custnum,
-  &>
-% } 
-
 % my $yes = emt('yes');
 % my $no = emt('no');
 
@@ -85,7 +71,7 @@
     </TR>
 % }
 
-% if ( $conf->exists('enable_taxproducts') ) {
+% if ( $conf->config('tax_data_vendor') eq 'cch' ) {
 <TR>
   <TH ALIGN="right"><% mt('Tax location') |h %></TH>
 % my $tax_location = $conf->exists('tax-ship_address')