projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make customer location columns available in various reports, #940
[freeside.git]
/
httemplate
/
search
/
cust_credit_refund.html
diff --git
a/httemplate/search/cust_credit_refund.html
b/httemplate/search/cust_credit_refund.html
index
75138e9
..
5d89ebe
100644
(file)
--- a/
httemplate/search/cust_credit_refund.html
+++ b/
httemplate/search/cust_credit_refund.html
@@
-103,8
+103,8
@@
my $where = 'WHERE '. join(' AND ', @search);
#
my $count_query = 'SELECT COUNT(*), SUM(cust_credit_refund.amount)
FROM cust_credit_refund
#
my $count_query = 'SELECT COUNT(*), SUM(cust_credit_refund.amount)
FROM cust_credit_refund
- LEFT JOIN cust_credit USING ( crednum )
-
LEFT JOIN cust_main USING ( custnum ) '
.
+ LEFT JOIN cust_credit USING ( crednum )
'.
+
FS::UI::Web::join_cust_main('cust_credit')
.
$where;
my $sql_query = {
$where;
my $sql_query = {
@@
-121,8
+121,8
@@
my $sql_query = {
'hashref' => {},
'extra_sql' => $where,
'addl_from' => 'LEFT JOIN cust_credit USING ( crednum )
'hashref' => {},
'extra_sql' => $where,
'addl_from' => 'LEFT JOIN cust_credit USING ( crednum )
- LEFT JOIN cust_refund USING ( refundnum )
- LEFT JOIN cust_main ON ( cust_credit.custnum = cust_main.custnum )',
+ LEFT JOIN cust_refund USING ( refundnum )
'.
+ FS::UI::Web::join_cust_main('cust_credit')
};
#my $cust_credit_link = sub {
};
#my $cust_credit_link = sub {