From: Ivan Kohler Date: Thu, 14 Mar 2013 01:25:29 +0000 (-0700) Subject: multiple payment types on payment and refund reports, RT#21061 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=80cf2cf71008a16ceec18d90711428ba148ca7b3;p=freeside.git multiple payment types on payment and refund reports, RT#21061 --- diff --git a/httemplate/search/elements/cust_pay_or_refund.html b/httemplate/search/elements/cust_pay_or_refund.html index 4212daa23..d5403de78 100755 --- a/httemplate/search/elements/cust_pay_or_refund.html +++ b/httemplate/search/elements/cust_pay_or_refund.html @@ -376,7 +376,7 @@ if ( $cgi->param('magic') ) { } - push @search, join(' OR ', @all_payby_search) if @all_payby_search; + push @search, ' ( '. join(' OR ', @all_payby_search). ' ) ' if @all_payby_search; } @@ -406,6 +406,7 @@ if ( $cgi->param('magic') ) { } my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi); +warn $beginning; push @search, "_date >= $beginning ", "_date <= $ending";