X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fchange_pkg.cgi;h=655799fc16a6d9aee489d666b4f0581a55ead196;hb=45583b397d64be8c31cba0334ad89e41f4ac1d0e;hp=5346fd9d89b75d24ab1405f37247ec8dfef22c62;hpb=0ebeec96313dd7edfca340f01f8fbbbac1f4aa1d;p=freeside.git diff --git a/httemplate/misc/change_pkg.cgi b/httemplate/misc/change_pkg.cgi index 5346fd9d8..655799fc1 100755 --- a/httemplate/misc/change_pkg.cgi +++ b/httemplate/misc/change_pkg.cgi @@ -1,5 +1,42 @@ - -<% +<% include('/elements/header.html', "Change Package") %> + +% if ( $cgi->param('error') ) { + Error: <% $cgi->param('error') %> +

+% } + +<% small_custview( $cust_main, $conf->config('countrydefault') || '' , '', + "${p}view/cust_main.cgi") +%> + +
+ + + +
+Current package: <% $part_pkg->pkg %> - <% $part_pkg->comment %> + +
+New package: +

+
+ + +<%init> my $pkgnum; if ( $cgi->param('error') ) { @@ -27,40 +64,6 @@ my $cust_main = $cust_pkg->cust_main " ( pkgnum ". cust_pkg->pkgnum. ")"; my $agent = $cust_main->agent; -print header("Change Package", menubar( - "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum", - 'Main Menu' => $p, -)); - -print qq!Error: !, $cgi->param('error'), - "

" - if $cgi->param('error'); - my $part_pkg = $cust_pkg->part_pkg; -print small_custview( $cust_main, $conf->config('countrydefault') ). - qq!
!. - qq!!. - qq!!. - '
Current package: '. $part_pkg->pkg. ' - '. $part_pkg->comment. - qq!
New package: -
- - -END -%> +