X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fpart_pkg.html;h=30b5419867eeffd6cd23c5de610618324473c93d;hp=87237c7cfdab23d786e4fdd9bc5af5e12915cbbe;hb=009a2b6cff2ad3bfb3c65ad9ac15a1d612606ac9;hpb=e43a91663fe211df6e0bf4c60b7ee65ad5b6d667 diff --git a/httemplate/search/part_pkg.html b/httemplate/search/part_pkg.html index 87237c7cf..30b541986 100644 --- a/httemplate/search/part_pkg.html +++ b/httemplate/search/part_pkg.html @@ -114,8 +114,8 @@ if (1) { #commission reports } my $from_cust_bill_pkg_where = "FROM cust_bill_pkg - LEFT JOIN ( cust_bill ) USING ( invnum ) - LEFT JOIN ( cust_pkg ) USING ( pkgnum ) + LEFT JOIN cust_bill USING ( invnum ) + LEFT JOIN cust_pkg USING ( pkgnum ) WHERE cust_bill_pkg.pkgnum > 0 AND cust_bill._date >= $beginning AND cust_bill._date <= $ending ";