X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_pay.cgi;h=855fbfcf125f4492a9030d2545e0d677ac86cd5e;hb=eb4ff7f73c5d4bdf74a3472448b5a195598ff4cd;hp=6669b9de48c33a916c7a0cbb9e9e7c2fdd19d926;hpb=c00273147a2d400779fcdaf34f171b2180faa453;p=freeside.git
diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi
index 6669b9de4..855fbfcf1 100755
--- a/httemplate/edit/cust_pay.cgi
+++ b/httemplate/edit/cust_pay.cgi
@@ -1,169 +1,145 @@
-<%
-#
-
-use strict;
-use vars qw( $cgi $link $linknum $p1 $_date $payby $payinfo $paid );
-use Date::Format;
-use CGI;
-use CGI::Carp qw(fatalsToBrowser);
-use FS::Conf;
-use FS::UID qw(cgisuidsetup);
-use FS::CGI qw(header popurl ntable);
+% if ( $link eq 'popup' ) {
+ <% include('/elements/header-popup.html', $title ) %>
+% } else {
+ <% include("/elements/header.html", $title, '') %>
+% }
+
+% if ( $cgi->param('error') ) {
+ Error: <% $cgi->param('error') %>
+
+% }
+
+
+
+
+
+
+