summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-03-13 18:25:29 -0700
committerIvan Kohler <ivan@freeside.biz>2013-03-13 18:25:29 -0700
commit80cf2cf71008a16ceec18d90711428ba148ca7b3 (patch)
tree13ddbc06e9e2577a793ab52fc7faa93369ca9f39
parentb4c6c58d3f10be9fcd18a449afd3c0d77fb67137 (diff)
multiple payment types on payment and refund reports, RT#21061
-rwxr-xr-xhttemplate/search/elements/cust_pay_or_refund.html3
1 files changed, 2 insertions, 1 deletions
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";