X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fagent_payment_gateway.html;h=38411f12e99240f5492fe53f33f6bcd2ce06fa7b;hp=08a2fa6bfc96a1c67179499788b0be78af904453;hb=833cfe5c9938d33c3e6b97ed610c25a7afa6eb04;hpb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1 diff --git a/httemplate/edit/agent_payment_gateway.html b/httemplate/edit/agent_payment_gateway.html index 08a2fa6bf..38411f12e 100644 --- a/httemplate/edit/agent_payment_gateway.html +++ b/httemplate/edit/agent_payment_gateway.html @@ -1,28 +1,9 @@ -% -% -%$cgi->param('agentnum') =~ /(\d+)$/ or die "illegal agentnum"; -%my $agent = qsearchs('agent', { 'agentnum' => $1 } ); -%die "agentnum $1 not found" unless $agent; -% -%#my @agent_payment_gateway; -%if ( $cgi->param('error') ) { -%} -% -%my $action = 'Add'; -% -% - - <% include("/elements/header.html","$action payment gateway override for ". $agent->agent, menubar( - 'Main Menu' => $p, #'View all payment gateways' => $p. 'browse/payment_gateway.html', - 'View all agents' => $p. 'browse/agent.html', + 'View all agents' => $p. 'browse/agent.cgi', )) %> -% if ( $cgi->param('error') ) { - -Error: <% $cgi->param('error') %> -% } +<% include('/elements/error.html') %>
@@ -31,40 +12,37 @@ Use gateway -

+
-for for ACH only. +
+
-
- -

+<% include('/elements/footer.html') %> -(optional) when invoice contains only items of taxclass -

+<%init> - - - - +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +$cgi->param('agentnum') =~ /(\d+)$/ or die "illegal agentnum"; +my $agent = qsearchs('agent', { 'agentnum' => $1 } ); +die "agentnum $1 not found" unless $agent; + +#my @agent_payment_gateway; +if ( $cgi->param('error') ) { +} + +my $action = 'Add'; + +