[freeside-commits] freeside/httemplate/search report_newtax.cgi, 1.11, 1.12
Ivan,,,
ivan at wavetail.420.am
Fri Apr 15 16:02:22 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv18615/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.11
retrieving revision 1.12
diff -u -w -d -r1.11 -r1.12
--- report_newtax.cgi 15 Apr 2011 22:54:56 -0000 1.11
+++ report_newtax.cgi 15 Apr 2011 23:02:20 -0000 1.12
@@ -131,7 +131,7 @@
my $sql = "SELECT SUM(amount) $taxwhere AND cust_bill_pkg.pkgnum = 0";
- my $x = scalar_sql($t, [ $itemdesc, $itemdesc ], $sql );
+ my $x = scalar_sql($t, [ $t->itemdesc, $t->itemdesc ], $sql );
$tax += $x;
$taxes{$label}->{'tax'} += $x;
@@ -143,7 +143,7 @@
$sql = "SELECT SUM(cust_credit_bill_pkg.amount) ".
" $creditwhere AND cust_bill_pkg.pkgnum = 0";
- my $y = scalar_sql($t, [ $itemdesc, $itemdesc ], $sql );
+ my $y = scalar_sql($t, [ $t->itemdesc, $t->itemdesc ], $sql );
$credit += $y;
$taxes{$label}->{'credit'} += $y;
More information about the freeside-commits
mailing list