[freeside-commits] freeside/httemplate/search cust_bill_pkg.cgi, 1.43, 1.44

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


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

Modified Files:
	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.43
retrieving revision 1.44
diff -u -w -d -r1.43 -r1.44
--- cust_bill_pkg.cgi	11 Apr 2011 07:02:50 -0000	1.43
+++ cust_bill_pkg.cgi	11 Apr 2011 07:04:46 -0000	1.44
@@ -463,7 +463,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