[freeside-commits] branch master updated. d09facc6cc8c60cc3e82c656c827a25a6995b3eb

Ivan ivan at 420.am
Sun Apr 15 15:44:23 PDT 2012


The branch, master has been updated
       via  d09facc6cc8c60cc3e82c656c827a25a6995b3eb (commit)
      from  820fe0ac288d4f2bb975b7f58ee02baefd96ed24 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d09facc6cc8c60cc3e82c656c827a25a6995b3eb
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sun Apr 15 15:44:20 2012 -0700

    add cust_class-tax_exempt conf setting to control the tax exemption flag per customer class rather than per indivual customer, RT#16818

diff --git a/httemplate/browse/cust_class.html b/httemplate/browse/cust_class.html
index d7c6228..70a279a 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>

-----------------------------------------------------------------------

Summary of changes:
 httemplate/browse/cust_class.html |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)




More information about the freeside-commits mailing list