X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fcust_class.html;h=70a279a055e8a92fb5164d701d4b798c015aaf87;hb=29d80a8582103ead0b5910391cabc45cb85fa836;hp=da303cf72afe1bb26a08fb5af3993e314e3485bb;hpb=624b2d44625f69d71175c3348cae635d580c890b;p=freeside.git diff --git a/httemplate/browse/cust_class.html b/httemplate/browse/cust_class.html index da303cf72..70a279a05 100644 --- a/httemplate/browse/cust_class.html +++ b/httemplate/browse/cust_class.html @@ -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, ''; +} +