[freeside-commits] freeside/httemplate/search cust_bill_pkg.cgi, 1.37.2.3, 1.37.2.4
Ivan,,,
ivan at wavetail.420.am
Mon Mar 14 17:46:40 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv11037
Modified Files:
Tag: FREESIDE_2_1_BRANCH
cust_bill_pkg.cgi
Log Message:
fix sales report detail links when using "Separate rated usage from recurring feeds", RT#12019
Index: cust_bill_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_bill_pkg.cgi,v
retrieving revision 1.37.2.3
retrieving revision 1.37.2.4
diff -u -w -d -r1.37.2.3 -r1.37.2.4
--- cust_bill_pkg.cgi 10 Feb 2011 01:03:59 -0000 1.37.2.3
+++ cust_bill_pkg.cgi 15 Mar 2011 00:46:38 -0000 1.37.2.4
@@ -463,8 +463,11 @@
} else {
- #$count_query = "SELECT COUNT(*), ";
+ if ( $use_usage ) {
+ $count_query = "SELECT COUNT(*), ";
+ } else {
$count_query = "SELECT COUNT(DISTINCT billpkgnum), ";
+ }
if ( $use_usage eq 'recurring' ) {
$count_query .= "SUM(setup + recur - usage)";
More information about the freeside-commits
mailing list