X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_credit.cgi;h=13d062c741f5fb5b3fbf80f464c1e0c07ddf4c2a;hb=eb4ff7f73c5d4bdf74a3472448b5a195598ff4cd;hp=5d5f5b296073e5aac57f9810c2d5efb550548306;hpb=c14a267229fc0d6f2d2afdebab3bd34d825df2ef;p=freeside.git
diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi
index 5d5f5b296..13d062c74 100755
--- a/httemplate/edit/cust_credit.cgi
+++ b/httemplate/edit/cust_credit.cgi
@@ -1,19 +1,61 @@
-<%
-#
-
-use strict;
-use vars qw( $cgi $query $custnum $otaker $p1 $crednum $_date $amount $reason );
-use Date::Format;
-use CGI;
-use CGI::Carp qw(fatalsToBrowser);
-use FS::UID qw(cgisuidsetup getotaker);
-use FS::CGI qw(header popurl);
-use FS::Record qw(fields);
-#use FS::cust_credit;
-
-$cgi = new CGI;
-cgisuidsetup($cgi);
+<% include('/elements/header-popup.html', 'Enter Credit') %>
+
+% if ( $cgi->param('error') ) {
+ Error: <% $cgi->param('error') %>
+
+% }
+
+