[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 5638d0d0ed016a3727516a815045a8583cbe096f

Ivan ivan at 420.am
Tue Feb 26 01:56:44 PST 2013


The branch, FREESIDE_2_3_BRANCH has been updated
       via  5638d0d0ed016a3727516a815045a8583cbe096f (commit)
      from  9528cfd540bd5bcf8ee581458d7b0e407cf12b8b (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 5638d0d0ed016a3727516a815045a8583cbe096f
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Feb 26 01:56:41 2013 -0800

    fix tax credit report detail w/enable_taxclasses, RT#21558, fallout from #18676

diff --git a/httemplate/search/cust_credit_bill_pkg.html b/httemplate/search/cust_credit_bill_pkg.html
index 4640950..b7c1d17 100644
--- a/httemplate/search/cust_credit_bill_pkg.html
+++ b/httemplate/search/cust_credit_bill_pkg.html
@@ -429,7 +429,7 @@ if ( $cgi->param('nottax') ) {
     s/cust_pkg\.locationnum/cust_bill_pkg_tax_location.locationnum/g for @where;
   }
 
-} else { 
+} else {
 
   #warn "neither nottax nor istax parameters specified";
   #same as before?
@@ -464,7 +464,7 @@ my @post_desc_header = ();
 my @post_desc = ();
 my @post_desc_null = ();
 my $post_desc_align = '';
-if ( $conf->exists('enable_taxclasses') ) {
+if ( $conf->exists('enable_taxclasses') && ! $cgi->param('istax') ) {
   push @post_desc_header, 'Tax class';
   push @post_desc, 'taxclass';
   push @post_desc_null, '';

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

Summary of changes:
 httemplate/search/cust_credit_bill_pkg.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list