From 42f2cf965d774082a2df17c043af8ba0411b4ef2 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 15 Mar 2010 06:18:57 +0000 Subject: [PATCH] deleted payment report, RT#7694 --- httemplate/search/elements/cust_pay_or_refund.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/httemplate/search/elements/cust_pay_or_refund.html b/httemplate/search/elements/cust_pay_or_refund.html index bc7d551b9..4f83d0ab6 100755 --- a/httemplate/search/elements/cust_pay_or_refund.html +++ b/httemplate/search/elements/cust_pay_or_refund.html @@ -289,6 +289,14 @@ if ( $cgi->param('magic') ) { join(',', map "'$_'", @history_action ). ')'; } + if ( $cgi->param('history_date_beginning') + || $cgi->param('history_date_ending') ) { + my($h_beginning, $h_ending) = + FS::UI::Web::parse_beginning_ending($cgi, 'history_date'); + push @search, "history_date >= $h_beginning ", + "history_date <= $h_ending"; + } + #here is the agent virtualization push @search, $curuser->agentnums_sql; -- 2.11.0