4 %my($query) = $cgi->keywords;
5 %$query =~ /^(\d+)$/ || die "Illegal paynum";
8 %my $cust_pay_void = qsearchs('cust_pay_void', { 'paynum' => $paynum } );
9 %my $custnum = $cust_pay_void->custnum;
11 %my $error = $cust_pay_void->unvoid;
12 %errorpage($error) if $error;
14 %print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);