blob: 539cd4a23ea87bbaea281b1f167c51ae3e67edef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<%
#untaint paynum
my($query) = $cgi->keywords;
$query =~ /^(\d+)$/ || die "Illegal paynum";
my $paynum = $1;
my $cust_pay_void = qsearchs('cust_pay_void', { 'paynum' => $paynum } );
my $custnum = $cust_pay_void->custnum;
my $error = $cust_pay_void->unvoid;
eidiot($error) if $error;
print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
%>
|