X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=inline;f=httemplate%2Fedit%2Fcust_credit_bill.cgi;h=249ba31d0f4c2187a5421b33c7814c11bbf8ca43;hb=216136a9a2aed14a099b9cc931c5b21a29c04894;hp=df495a66821c6ba1de094f8ca8b9c1630fa1fdb0;hpb=6412f71a3557249225abf5eb2096ebad1729c585;p=freeside.git
diff --git a/httemplate/edit/cust_credit_bill.cgi b/httemplate/edit/cust_credit_bill.cgi
index df495a668..249ba31d0 100755
--- a/httemplate/edit/cust_credit_bill.cgi
+++ b/httemplate/edit/cust_credit_bill.cgi
@@ -1,21 +1,62 @@
-<%
-#
+<% header("Apply Credit", '') %>
-use strict;
-use vars qw( $cgi $query $custnum $invnum $otaker $p1 $crednum $_date $amount $reason $cust_credit );
-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(qsearch fields);
-use FS::cust_credit;
-use FS::cust_bill;
+% if ( $cgi->param('error') ) {
+ Error: <% $cgi->param('error') %>
+
+% }
+