diff options
author | ivan <ivan> | 2010-04-07 04:11:13 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-04-07 04:11:13 +0000 |
commit | cdd6f558ad683955af4ab1a3fa6e3c4060241d9d (patch) | |
tree | 4be5880e7cb473652911ff3db39f957a23af9df4 | |
parent | ba81aa98bdbf6be2979257ac374ba225e9f658c3 (diff) |
fix a mysql-ism in employee commission report, now compatible with Pg, that's a new one. RT#6991
-rw-r--r-- | httemplate/search/part_pkg.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/search/part_pkg.html b/httemplate/search/part_pkg.html index c6c05b873..915dbf448 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 "; |