4 <% $cgi->redirect($p. "view/quotation.html?". $quotationnum) %>
9 unless $FS::CurrentUser::CurrentUser->access_right('Generate quotation'); #separate ACL for editing it later? too silly for us yet
11 #untaint quotationpkgnum
12 my($query) = $cgi->keywords;
13 $query =~ /^(\d+)$/ or die "Illegal quotationpkgnum";
14 my $quotationpkgnum = $1;
16 my $quotation_pkg = qsearchs('quotation_pkg',{'quotationpkgnum'=>$quotationpkgnum});
17 my $quotationnum = $quotation_pkg->quotationnum;
19 my $error = $quotation_pkg->delete;