freeside/httemplate/misc void-cust_pay.cgi,NONE,1.1
ivan
ivan at pouncequick.420.am
Tue Jul 6 06:26:27 PDT 2004
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory pouncequick:/tmp/cvs-serv19530/httemplate/misc
Added Files:
void-cust_pay.cgi
Log Message:
add cust_pay_void table and payment voiding web ui part one
--- NEW FILE: void-cust_pay.cgi ---
<%
#untaint paynum
my($query) = $cgi->keywords;
$query =~ /^(\d+)$/ || die "Illegal paynum";
my $paynum = $1;
my $cust_pay = qsearchs('cust_pay',{'paynum'=>$paynum});
my $custnum = $cust_pay->custnum;
my $error = $cust_pay->void;
eidiot($error) if $error;
print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
%>
More information about the freeside-commits
mailing list