diff options
author | Mark Wells <mark@freeside.biz> | 2016-06-09 15:56:36 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-06-09 16:22:41 -0700 |
commit | 286a56c9c9d4d29bae5e2734f4341d638de9c8e3 (patch) | |
tree | 10d9e8f69c4b935eb6473cef58e0d72635a4201b /httemplate | |
parent | 6129a83b54394aff0b4368a367033aa6a309cd8c (diff) |
remove "failed billing events" report, and add "completed with an error" status search, #42637
Conflicts:
httemplate/elements/menu.html
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/elements/menu.html | 9 | ||||
-rw-r--r-- | httemplate/search/report_cust_event.html | 10 |
2 files changed, 7 insertions, 12 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index 84eb511ec..00f4f13b5 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -325,13 +325,6 @@ $report_employees{'Employee Audit Report'} = [ $fsurl.'search/report_employee_au if $curuser->access_right('Employees: Audit Report'); ; -tie my %report_bill_event, 'Tie::IxHash', - 'All billing events' => [ $fsurl.'search/report_cust_event.html', 'All billing events for a date range' ], - 'Billing event errors' => [ $fsurl.'search/report_cust_event.html?failed=1', 'Failed credit cards, processor or printer problems, etc.' ], -# 'All invoice events' => [ $fsurl.'search/cust_bill_event.html', 'Reports on deprecated, old-style invoice events for a date range' ], -# 'Invoice event errors' => [ $fsurl.'search/cust_bill_event.html?failed=1', 'Reports on deprecated, old-style events for failed credit cards, processor or printer problems, etc.' ], -; - tie my %report_payments, 'Tie::IxHash', 'Payments' => [ $fsurl.'search/report_cust_pay.html', 'Payment report (by type and/or date range)' ], 'Payment application detail' => [ $fsurl.'search/report_cust_bill_pay_pkg.html', 'Line item application detail' ], @@ -444,7 +437,7 @@ $report_menu{'Tickets'} = [ \%report_ticketing, 'Ticket reports' ] ;#&& FS::TicketSystem->access_right(\%session, 'Something'); $report_menu{'Employees'} = [ \%report_employees, 'Employee reports' ] if keys %report_employees; -$report_menu{'Billing events'} = [ \%report_bill_event, 'Billing events' ] +$report_menu{'Billing events'} = [ $fsurl.'search/report_cust_event.html', 'Search billing events by date and status' ] if $curuser->access_right('Billing event reports'); $report_menu{'Financial'} = [ \%report_financial, 'Financial reports' ] if $curuser->access_right('Financial reports') diff --git a/httemplate/search/report_cust_event.html b/httemplate/search/report_cust_event.html index 465a391a8..5b8489bbf 100644 --- a/httemplate/search/report_cust_event.html +++ b/httemplate/search/report_cust_event.html @@ -44,16 +44,18 @@ % } else { % # 'initial' is not on here, since nobody needs to see it. also, -% # 'done_Y' and 'done_N' are shorthand for "done, and no_action -% # is null" and "done, and no_action = 'Y'". +% # 'done_Y' = "done, and no_action is null, and statustext is null" +% # 'done_S' = "done, and no_action is null, and statustext is not null" +% # 'done_N' = "done, and no_action = 'Y'". <& /elements/tr-select.html, 'label' => 'Event status', 'field' => 'event_status', 'multiple' => 1, 'all_selected' => 1, 'size' => 5, - 'options' => [ qw( done_Y done_N failed new locked ) ], - 'option_labels' => { done_Y => 'Completed', + 'options' => [ qw( done_Y done_S done_N failed new locked ) ], + 'option_labels' => { done_Y => 'Completed normally', + done_S => 'Completed, with an error', done_N => 'Completed, no action taken', failed => 'Failed', new => 'Not yet processed', |