From d09facc6cc8c60cc3e82c656c827a25a6995b3eb Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 15 Apr 2012 15:44:20 -0700 Subject: [PATCH] add cust_class-tax_exempt conf setting to control the tax exemption flag per customer class rather than per indivual customer, RT#16818 --- httemplate/browse/cust_class.html | 7 +++++++ 1 file changed, 7 insertions(+) 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, ''; +} + -- 2.11.0