summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_event.html
diff options
context:
space:
mode:
authorivan <ivan>2009-10-30 23:29:18 +0000
committerivan <ivan>2009-10-30 23:29:18 +0000
commit2c7d4f461a5d42178e88d04c34a3f8ca256ee285 (patch)
tree9e25ac1acfb715f2deeda3f76641a96d8461d65f /httemplate/search/cust_event.html
parent5b76f0c1b944534613058a4b9252d5952406c557 (diff)
more reporting options for failed billing events, RT#6447
Diffstat (limited to 'httemplate/search/cust_event.html')
-rw-r--r--httemplate/search/cust_event.html15
1 files changed, 13 insertions, 2 deletions
diff --git a/httemplate/search/cust_event.html b/httemplate/search/cust_event.html
index f8cf6b2a6..b22644efe 100644
--- a/httemplate/search/cust_event.html
+++ b/httemplate/search/cust_event.html
@@ -157,12 +157,18 @@ my $title = $cgi->param('failed') ? 'Failed billing events' : 'Billing events';
my %search = ();
-my @scalars = qw ( agentnum custnum invnum pkgnum failed );
-for my $param ( @scalars ) {
+my @scalars = qw( agentnum status custnum invnum pkgnum failed );
+for my $param (@scalars) {
$search{$param} = scalar( $cgi->param($param) )
if $cgi->param($param);
}
+#lists
+my @lists = qw( payby eventpart );
+foreach my $param (@lists) {
+ $search{$param} = [ $cgi->param($param) ];
+}
+
my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
$search{'beginning'} = $beginning;
$search{'ending'} = $ending;
@@ -208,6 +214,11 @@ my $html_init = join("\n", map {
}
@params #keys %search
),
+ ( map { my $value = encode_entities( join(',', @{ $search{$_} } ) );
+ qq(<INPUT TYPE="hidden" NAME="$_" VALUE="$value">);
+ }
+ @lists
+ ),
qq!</FORM>!
} qw( print_ email_ fax_ ) ).