From 80cf2cf71008a16ceec18d90711428ba148ca7b3 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 13 Mar 2013 18:25:29 -0700 Subject: [PATCH] multiple payment types on payment and refund reports, RT#21061 --- httemplate/search/elements/cust_pay_or_refund.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"; -- 2.20.1