freeside/httemplate/search report_tax.cgi,1.5.4.7,1.5.4.8
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-serv2161
Modified Files:
Tag: FREESIDE_1_4_BRANCH
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.5.4.7
retrieving revision 1.5.4.8
diff -u -d -r1.5.4.7 -r1.5.4.8
--- report_tax.cgi 21 Oct 2004 07:07:21 -0000 1.5.4.7
+++ report_tax.cgi 25 Oct 2004 21:35:33 -0000 1.5.4.8
@@ -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