enable CardFortress in test database, #71513
[freeside.git] / httemplate / browse / cust_class.html
index da303cf..70a279a 100644 (file)
@@ -6,7 +6,7 @@
                  'disabled_statuspos' => 2,
                  'query'       => { 'table'     => 'cust_class',
                                     'hashref'   => {},
-                                    'extra_sql' => 'ORDER BY classnum',
+                                    'order_by' => 'ORDER BY classnum',
                                   },
                  'count_query' => $count_query,
                  'header'      => $header,
@@ -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>