summaryrefslogtreecommitdiff
path: root/httemplate/browse/cust_class.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-04-15 15:44:20 -0700
committerIvan Kohler <ivan@freeside.biz>2012-04-15 15:44:20 -0700
commitd09facc6cc8c60cc3e82c656c827a25a6995b3eb (patch)
treee9295b6ec0ed2d94643f45e3e7261d75378deb62 /httemplate/browse/cust_class.html
parent820fe0ac288d4f2bb975b7f58ee02baefd96ed24 (diff)
add cust_class-tax_exempt conf setting to control the tax exemption flag per customer class rather than per indivual customer, RT#16818
Diffstat (limited to 'httemplate/browse/cust_class.html')
-rw-r--r--httemplate/browse/cust_class.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/browse/cust_class.html b/httemplate/browse/cust_class.html
index d7c622837..70a279a05 100644
--- a/httemplate/browse/cust_class.html
+++ b/httemplate/browse/cust_class.html
@@ -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>