From 2c7d4f461a5d42178e88d04c34a3f8ca256ee285 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 30 Oct 2009 23:29:18 +0000 Subject: more reporting options for failed billing events, RT#6447 --- httemplate/elements/select-part_event.html | 6 +++ httemplate/elements/select-payby.html | 4 +- httemplate/elements/tr-select-part_event.html | 20 ++++++++ httemplate/search/cust_event.html | 15 +++++- httemplate/search/report_cust_event.html | 66 ++++++++++----------------- 5 files changed, 67 insertions(+), 44 deletions(-) create mode 100644 httemplate/elements/select-part_event.html create mode 100644 httemplate/elements/tr-select-part_event.html (limited to 'httemplate') diff --git a/httemplate/elements/select-part_event.html b/httemplate/elements/select-part_event.html new file mode 100644 index 000000000..f510672ba --- /dev/null +++ b/httemplate/elements/select-part_event.html @@ -0,0 +1,6 @@ +<% include( '/elements/select-table.html', + 'table' => 'part_event', + 'name_col' => 'event', + @_, + ) +%> diff --git a/httemplate/elements/select-payby.html b/httemplate/elements/select-payby.html index 3f19cb952..e0fb4f07d 100644 --- a/httemplate/elements/select-payby.html +++ b/httemplate/elements/select-payby.html @@ -8,7 +8,9 @@ % } % foreach my $option ( keys %{ $opt{'paybys'} } ) { -% my $sel = ( ref($value) && $value->{$option} ) || $option eq $value; +% my $sel = $opt{'all_selected'} +% || ( ref($value) && $value->{$option} ) +% || $option eq $value;