projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aee440
)
fix joins for proper tax reporting
author
ivan
<ivan>
Mon, 25 Oct 2004 21:35:33 +0000
(21:35 +0000)
committer
ivan
<ivan>
Mon, 25 Oct 2004 21:35:33 +0000
(21:35 +0000)
httemplate/search/report_tax.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/report_tax.cgi
b/httemplate/search/report_tax.cgi
index
f37e127
..
8b1c095
100755
(executable)
--- a/
httemplate/search/report_tax.cgi
+++ b/
httemplate/search/report_tax.cgi
@@
-44,8
+44,8
@@
foreach my $r (
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 ? = '' )