summaryrefslogtreecommitdiff
path: root/httemplate/search/elements/cust_pay_or_refund.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-03-06 15:04:14 -0800
committerMark Wells <mark@freeside.biz>2013-03-06 15:04:14 -0800
commit0704f3f641deb525399521368f1e6ba9ff5b71cd (patch)
treea300eb157ac9c34b6fdae154d02d42ce28131506 /httemplate/search/elements/cust_pay_or_refund.html
parent5fe75497ce60689c128d93a3f1c9339e7c5e4e49 (diff)
customer location columns in more reports, #940
Diffstat (limited to 'httemplate/search/elements/cust_pay_or_refund.html')
-rwxr-xr-xhttemplate/search/elements/cust_pay_or_refund.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/elements/cust_pay_or_refund.html b/httemplate/search/elements/cust_pay_or_refund.html
index b9da7ef06..3dc54d936 100755
--- a/httemplate/search/elements/cust_pay_or_refund.html
+++ b/httemplate/search/elements/cust_pay_or_refund.html
@@ -424,7 +424,7 @@ if ( $cgi->param('magic') ) {
#here is the agent virtualization
push @search, $curuser->agentnums_sql;
- my $addl_from = ' LEFT JOIN cust_main USING ( custnum ) ';
+ my $addl_from = FS::UI::Web::join_cust_main('cust_pay');
my $group_by = '';
if ( $cgi->param('tax_names') ) {