[freeside-commits] freeside/httemplate/misc
delete-agent_payment_gateway.cgi, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Mon Nov 13 20:04:35 PST 2006
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail:/tmp/cvs-serv16856/misc
Added Files:
delete-agent_payment_gateway.cgi
Log Message:
working agent gateway override delete link
--- NEW FILE: delete-agent_payment_gateway.cgi ---
% die "you don't have the 'Configuration' access right"
% unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
%
% my($query) = $cgi->keywords;
% $query =~ /^(\d+)$/ || die "Illegal agentgatewaynum";
% my $agentgatewaynum = $1;
%
% my $agent_payment_gateway = qsearchs('agent_payment_gateway', {
% 'agentgatewaynum' => $agentgatewaynum,
% });
%
% my $error = $agent_payment_gateway->delete;
% eidiot($error) if $error;
%
% print $cgi->redirect($p. "browse/agent.cgi");
More information about the freeside-commits
mailing list