X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fcancel_pkg.html;h=642f0c83e4dc5d6070a25e7623da7fb3858b8fcf;hb=eb4ff7f73c5d4bdf74a3472448b5a195598ff4cd;hp=e610006183f486683bbb26487de777e8ce597493;hpb=9811b8ce65909a293810ddbcd8c9b5ca963fba01;p=freeside.git diff --git a/httemplate/misc/cancel_pkg.html b/httemplate/misc/cancel_pkg.html index e61000618..642f0c83e 100755 --- a/httemplate/misc/cancel_pkg.html +++ b/httemplate/misc/cancel_pkg.html @@ -23,9 +23,9 @@ <% ucfirst($method) . " $pkgnum: " .$part_pkg->pkg. ' - ' .$part_pkg->comment %> <% ntable("#cccccc", 2) %> -% if ($method eq 'expire') { +% if ($method eq 'expire' || $method eq 'adjourn') { - Cancel package on + <% $submit =~ /^(\w*)\s/ %> package on
m/d/y @@ -42,7 +42,14 @@ %} % -<% include('/elements/tr-select-reason.html', 'reasonnum', $class, '', '', '', 'document.sc_popup.submit' ) %> +<% include('/elements/tr-select-reason.html', + 'field' => 'reasonnum', + 'reason_class' => $class, + #XXX these need to be sticky on errors too... + #'curr_value' => '', + 'control_button' => 'document.sc_popup.submit', + ) +%> @@ -77,7 +84,10 @@ if ($method eq 'cancel') { $submit = "Cancel Later"; }elsif ($method eq 'suspend') { $class = 'S'; - $submit = "Suspend"; + $submit = "Suspend Now"; +}elsif ($method eq 'adjourn') { + $class = 'S'; + $submit = "Suspend Later"; }else{ die "illegal query ". $cgi->keywords; }