[freeside-commits] freeside/httemplate/search cust_bill_pkg.cgi, 1.37.2.7, 1.37.2.8

Ivan,,, ivan at wavetail.420.am
Thu Dec 15 20:48:09 PST 2011


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv24951

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	cust_bill_pkg.cgi 
Log Message:
fix "tax invoiced" links on tax report for the taxclass + not taxclass in same region case, RT#15469

Index: cust_bill_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_bill_pkg.cgi,v
retrieving revision 1.37.2.7
retrieving revision 1.37.2.8
diff -u -w -d -r1.37.2.7 -r1.37.2.8
--- cust_bill_pkg.cgi	21 Jul 2011 23:33:11 -0000	1.37.2.7
+++ cust_bill_pkg.cgi	16 Dec 2011 04:48:07 -0000	1.37.2.8
@@ -303,8 +303,11 @@
     #warn "neither nottax nor istax parameters specified";
   }
 
-  if ( $cgi->param('taxclassNULL') ) {
-
+  if ( $cgi->param('taxclassNULL')
+       && ! $cgi->param('istax')  #no part_pkg.taxclass in this case
+                                  #(see comment above?)
+     )
+  {
     my %hash = ( 'country' => scalar($cgi->param('country')) );
     foreach (qw( state county )) {
       $hash{$_} = scalar($cgi->param($_)) if $cgi->param($_);



More information about the freeside-commits mailing list