summaryrefslogtreecommitdiff
path: root/httemplate/misc/bulk_suspend_pkg.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/bulk_suspend_pkg.cgi')
-rw-r--r--httemplate/misc/bulk_suspend_pkg.cgi37
1 files changed, 2 insertions, 35 deletions
diff --git a/httemplate/misc/bulk_suspend_pkg.cgi b/httemplate/misc/bulk_suspend_pkg.cgi
index e41ea2b1a..9b2bd62e4 100644
--- a/httemplate/misc/bulk_suspend_pkg.cgi
+++ b/httemplate/misc/bulk_suspend_pkg.cgi
@@ -7,40 +7,7 @@
<FORM ACTION="<% $p %>misc/process/bulk_suspend_pkg.cgi" METHOD=POST>
-%# some false laziness w/search/cust_pkg.cgi
-
-<INPUT TYPE="hidden" NAME="query" VALUE="<% $cgi->keywords |h %>">
-% for my $param (
-% qw(
-% agentnum cust_status cust_main_salesnum salesnum custnum magic status
-% custom pkgbatch zip reasonnum
-% 477part 477rownum date
-% report_option
-% ),
-% grep { /^location_\w+$/ || /^report_option_any/ } $cgi->param
-% ) {
- <INPUT TYPE="hidden" NAME="<% $param %>" VALUE="<% $cgi->param($param) |h %>">
-% }
-%
-% for my $param (qw( censustract censustract2 ) ) {
-% next unless grep { $_ eq $param } $cgi->param;
- <INPUT TYPE="hidden" NAME="<% $param %>" VALUE="<% $cgi->param($param) |h %>">
-% }
-%
-% for my $param (qw( pkgpart classnum refnum towernum )) {
-% foreach my $value ($cgi->param($param)) {
- <INPUT TYPE="hidden" NAME="<% $param %>" VALUE="<% $value |h %>">
-% }
-% }
-%
-% foreach my $field (qw( setup last_bill bill adjourn susp expire contract_end change_date cancel active )) {
-%
- <INPUT TYPE="hidden" NAME="<% $field %>_null" VALUE="<% $cgi->param("${field}_null") |h %>">
- <INPUT TYPE="hidden" NAME="<% $field %>_begin" VALUE="<% $cgi->param("${field}_begin") |h %>">
- <INPUT TYPE="hidden" NAME="<% $field %>_beginning" VALUE="<% $cgi->param("${field}_beginning") |h %>">
- <INPUT TYPE="hidden" NAME="<% $field %>_end" VALUE="<% $cgi->param("${field}_end") |h %>">
- <INPUT TYPE="hidden" NAME="<% $field %>_ending" VALUE="<% $cgi->param("${field}_ending") |h %>">
-% }
+<& /elements/cust_pkg-search-form_input.html, $cgi &>
<% ntable('#cccccc') %>
@@ -91,4 +58,4 @@ my $date_format = $conf->config('date_format') || '%m/%d/%Y';
my $date = time;
-</%init> \ No newline at end of file
+</%init>