[freeside-commits] freeside/httemplate/search cust_bill_pkg.cgi, 1.37.2.5, 1.37.2.6

Ivan,,, ivan at wavetail.420.am
Mon Apr 11 00:04:49 PDT 2011


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

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	cust_bill_pkg.cgi 
Log Message:
fix error on detail for "tax collected" on vendor tax report, RT#12320

Index: cust_bill_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_bill_pkg.cgi,v
retrieving revision 1.37.2.5
retrieving revision 1.37.2.6
diff -u -w -d -r1.37.2.5 -r1.37.2.6
--- cust_bill_pkg.cgi	2 Apr 2011 19:23:08 -0000	1.37.2.5
+++ cust_bill_pkg.cgi	11 Apr 2011 07:04:47 -0000	1.37.2.6
@@ -476,7 +476,7 @@
   } elsif ( $unearned ) {
     $count_query .= "SUM(cust_bill_pkg.recur)";
   } elsif ( scalar( grep( /locationtaxid/, $cgi->param ) ) ) {
-    $count_query .= "SUM( COALESCE(cust_bill_pkg_tax_location.amount, cust_bill_pkg.setup + cust_bill_pkg.recur))";
+    $count_query .= "SUM( COALESCE(cust_bill_pkg_tax_rate_location.amount, cust_bill_pkg.setup + cust_bill_pkg.recur))";
   } elsif ( $cgi->param('iscredit') eq 'rate') {
     $count_query .= "SUM( cust_credit_bill_pkg.amount )";
   } else {



More information about the freeside-commits mailing list