X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpayment_gateway.html;h=a85ba57af1d49248527a02f12d668fc422318898;hb=305196a8632844f0224ed58b59aae51e4c6a80cc;hp=59970c3f69a7364d82d13434a260410892add6d1;hpb=b16796957e3eefd03b4d6c7a35ce722ad794e3b7;p=freeside.git diff --git a/httemplate/edit/payment_gateway.html b/httemplate/edit/payment_gateway.html index 59970c3f6..a85ba57af 100644 --- a/httemplate/edit/payment_gateway.html +++ b/httemplate/edit/payment_gateway.html @@ -1,134 +1,178 @@ -% -% -%my $payment_gateway; -%if ( $cgi->param('error') ) { -% $payment_gateway = new FS::payment_gateway ( { -% map { $_, scalar($cgi->param($_)) } fields('payment_gateway') -% } ); -%} elsif ( $cgi->keywords ) { -% my($query) = $cgi->keywords; -% $query =~ /^(\d+)$/; -% $payment_gateway = qsearchs( 'payment_gateway', { 'gatewaynum' => $1 } ); -%} else { #adding -% $payment_gateway = new FS::payment_gateway {}; -%} -%my $action = $payment_gateway->gatewaynum ? 'Edit' : 'Add'; -%#my $hashref = $payment_gateway->hashref; -% -% - - -<% include("/elements/header.html","$action Payment gateway", menubar( - 'Main Menu' => $p, - 'View all payment gateways' => $p. 'browse/payment_gateway.html', -)) %> -% if ( $cgi->param('error') ) { - -Error: <% $cgi->param('error') %> -% } - - -
-