deleted payment report, RT#7694
authorivan <ivan>
Mon, 15 Mar 2010 06:18:57 +0000 (06:18 +0000)
committerivan <ivan>
Mon, 15 Mar 2010 06:18:57 +0000 (06:18 +0000)
httemplate/search/elements/cust_pay_or_refund.html

index bc7d551..4f83d0a 100755 (executable)
@@ -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;