freeside/httemplate/search report_tax.cgi,1.11,1.12
ivan
ivan at pouncequick.420.am
Mon Oct 25 14:35:35 PDT 2004
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory pouncequick:/tmp/cvs-serv2154
Modified Files:
report_tax.cgi
Log Message:
fix joins for proper tax reporting
Index: report_tax.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_tax.cgi,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- report_tax.cgi 21 Oct 2004 07:07:14 -0000 1.11
+++ report_tax.cgi 25 Oct 2004 21:35:32 -0000 1.12
@@ -44,8 +44,8 @@
FROM cust_bill_pkg
JOIN cust_bill USING ( invnum )
JOIN cust_main USING ( custnum )
- JOIN cust_pkg USING ( pkgnum )
- JOIN part_pkg USING ( pkgpart )
+ LEFT OUTER JOIN cust_pkg USING ( pkgnum )
+ LEFT OUTER JOIN part_pkg USING ( pkgpart )
WHERE _date >= $beginning AND _date <= $ending
AND ( county = ? OR ? = '' )
AND ( state = ? OR ? = '' )
More information about the freeside-commits
mailing list