X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fcancel_cust.html;h=12c37ebe2df9ad52b683e9b3344ba7e80edbfef5;hb=2419a740ea77d7c1fd2151dbf8822fc40fd94053;hp=74362f8622fbd8de497c1e521ec62874c0891d8e;hpb=3f23bdfaef8eb6bb092b72ea741b63e243f8ab19;p=freeside.git diff --git a/httemplate/misc/cancel_cust.html b/httemplate/misc/cancel_cust.html index 74362f862..12c37ebe2 100644 --- a/httemplate/misc/cancel_cust.html +++ b/httemplate/misc/cancel_cust.html @@ -18,7 +18,7 @@ 'field' => 'reasonnum', 'reason_class' => 'C', 'cgi' => $cgi, - 'control_button' => 'document.cust_cancel_popup.submit', + 'control_button' => "document.getElementById('confirm_cancel_cust_button')", ) %> @@ -26,7 +26,7 @@

-          +          @@ -34,16 +34,9 @@ <%init> -my $reasonnum = ''; -my($submit, $class); - $cgi->param('custnum') =~ /^(\d+)$/ or die 'illegal custnum'; my $custnum = $1; -if ( $cgi->param('error') ) { - $reasonnum = $cgi->param('reasonnum'); -} - my $curuser = $FS::CurrentUser::CurrentUser; die "access denied" unless $curuser->access_right('Cancel customer');