summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-03-15 06:18:57 +0000
committerivan <ivan>2010-03-15 06:18:57 +0000
commit42f2cf965d774082a2df17c043af8ba0411b4ef2 (patch)
treee869173dc5006ffa04aecab4554ea12e3a9e3391
parentf9bd3e5e15c735191f20972a152284882107bee8 (diff)
deleted payment report, RT#7694
-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;