add cust_class-tax_exempt conf setting to control the tax exemption flag per customer...
authorIvan Kohler <ivan@freeside.biz>
Sun, 15 Apr 2012 22:44:20 +0000 (15:44 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sun, 15 Apr 2012 22:44:20 +0000 (15:44 -0700)
httemplate/browse/cust_class.html

index d7c6228..70a279a 100644 (file)
@@ -42,4 +42,11 @@ if ($sth->fetchrow_arrayref->[0]) {
   push @$links,  $link;
 }
 
+my $conf = new FS::Conf;
+if ( $conf->exists('cust_class-tax_exempt') ) {
+  push @$header, 'Tax exempt';
+  push @$fields, 'tax';
+  push @$links,  '';
+}
+
 </%init>