summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
authorivan <ivan>2010-03-15 06:18:55 +0000
committerivan <ivan>2010-03-15 06:18:55 +0000
commiteda93f35695b06e89d54cb1f2f115aabf536103a (patch)
treea34af43ba6c419a86deabd5135a7a83e7e62efe8 /httemplate/search
parentd85a79f82de6b4d6abec6dca12e7bbe4286db131 (diff)
deleted payment report, RT#7694
Diffstat (limited to 'httemplate/search')
-rwxr-xr-xhttemplate/search/elements/cust_pay_or_refund.html8
1 files changed, 8 insertions, 0 deletions
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;