From b01c9bdfaeea66b61a9948ee6260a121fc430186 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 18 Mar 2013 21:51:59 -0700 Subject: [PATCH] fix refund reports, RT#22004, RT#940 --- httemplate/search/elements/cust_pay_or_refund.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/search/elements/cust_pay_or_refund.html b/httemplate/search/elements/cust_pay_or_refund.html index d5403de78..9f83d54af 100755 --- a/httemplate/search/elements/cust_pay_or_refund.html +++ b/httemplate/search/elements/cust_pay_or_refund.html @@ -468,7 +468,7 @@ warn $beginning; #here is the agent virtualization push @search, $curuser->agentnums_sql; - my $addl_from = FS::UI::Web::join_cust_main('cust_pay'); + my $addl_from = FS::UI::Web::join_cust_main($table); my $group_by = ''; if ( $cgi->param('tax_names') ) { -- 2.11.0