4 <% $cgi->redirect($url) %>
9 unless $FS::CurrentUser::CurrentUser->access_right('Disable quotation');
11 $cgi->param('quotationnum') =~ /^(\d+)$/ or die 'illegal quotationnum';
12 my $quotationnum = $1;
15 qsearchs('quotation', { 'quotationnum' => $quotationnum } );
17 my $error = $quotation->disable;
19 my( $label, $url ) = $quotation->cust_or_prospect_label_link( popurl(2) );