fix refund reports, RT#22004, RT#940
authorIvan Kohler <ivan@freeside.biz>
Tue, 19 Mar 2013 04:51:59 +0000 (21:51 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 19 Mar 2013 04:51:59 +0000 (21:51 -0700)
httemplate/search/elements/cust_pay_or_refund.html

index d5403de..9f83d54 100755 (executable)
@@ -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') ) {