From d6edb7f296db6befc54396c001e64e67a79fe40b Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 16 Nov 2005 13:14:47 +0000 Subject: bulk svcpart change --- httemplate/edit/bulk-cust_svc.html | 97 +++++++++++++++++++++++++++++++ httemplate/edit/process/bulk-cust_svc.cgi | 3 + 2 files changed, 100 insertions(+) create mode 100644 httemplate/edit/bulk-cust_svc.html create mode 100644 httemplate/edit/process/bulk-cust_svc.cgi (limited to 'httemplate/edit') diff --git a/httemplate/edit/bulk-cust_svc.html b/httemplate/edit/bulk-cust_svc.html new file mode 100644 index 000000000..332b5b67c --- /dev/null +++ b/httemplate/edit/bulk-cust_svc.html @@ -0,0 +1,97 @@ +<%= header( 'Bulk customer service change', + menubar( + 'Main Menu' => $p, + ), + ) +%> + + + + + +<%= include('/elements/progress-init.html', + 'OneTrueForm', + [qw( old_svcpart new_svcpart pkgpart )], + 'process/bulk-cust_svc.cgi', + $p.'browse/part_svc.cgi', + ) +%> + +
+ +<% + $cgi->param('svcpart') =~ /^(\d+)$/ + or die "illegal svcpart: ". $cgi->param('svcpart'); + + my $old_svcpart = $1; + my $src_part_svc = qsearchs('part_svc', { 'svcpart' => $old_svcpart } ) + or die "unknown svcpart: $old_svcpart"; +%> + + +Change + + +
+ +to new service definition + +
+ +
+ + + + + +
+ + + + + + diff --git a/httemplate/edit/process/bulk-cust_svc.cgi b/httemplate/edit/process/bulk-cust_svc.cgi new file mode 100644 index 000000000..dd9d1dbd2 --- /dev/null +++ b/httemplate/edit/process/bulk-cust_svc.cgi @@ -0,0 +1,3 @@ +<% + my $server = new FS::UI::Web::JSRPC 'FS::part_svc::process_bulk_cust_svc', $cgi; +%><%= $server->process %> -- cgit v1.2.1