[freeside-commits] freeside/httemplate/search report_newtax.cgi, 1.10, 1.11

Ivan,,, ivan at wavetail.420.am
Fri Apr 15 15:54:58 PDT 2011


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

Modified Files:
	report_newtax.cgi 
Log Message:
fix new tax report w/FS::tax_rate_location->location_sql, RT#12332

Index: report_newtax.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_newtax.cgi,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -w -d -r1.10 -r1.11
--- report_newtax.cgi	15 Apr 2011 22:52:22 -0000	1.10
+++ report_newtax.cgi	15 Apr 2011 22:54:56 -0000	1.11
@@ -143,7 +143,7 @@
     $sql = "SELECT SUM(cust_credit_bill_pkg.amount) ".
            " $creditwhere AND cust_bill_pkg.pkgnum = 0";
 
-    my $y = scalar_sql($t, [], $sql );
+    my $y = scalar_sql($t, [ $itemdesc, $itemdesc ], $sql );
     $credit += $y;
     $taxes{$label}->{'credit'} += $y;
 



More information about the freeside-commits mailing list