X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_credit.cgi;h=5d5f5b296073e5aac57f9810c2d5efb550548306;hb=3c95656e1308b5ebf155191badac19000f0e5b9f;hp=a95636662e8d586164c2f52b7a340a66bafcb707;hpb=3d671921441ba8422650b54435a1959ad1d4c71d;p=freeside.git diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi index a95636662..5d5f5b296 100755 --- a/httemplate/edit/cust_credit.cgi +++ b/httemplate/edit/cust_credit.cgi @@ -1,5 +1,5 @@ <% -# +# use strict; use vars qw( $cgi $query $custnum $otaker $p1 $crednum $_date $amount $reason ); @@ -36,37 +36,35 @@ $otaker = getotaker; $p1 = popurl(1); -print $cgi->header( '-expires' => 'now' ), header("Post Credit", ''); +print header("Post Credit", ''); print qq!Error: !, $cgi->param('error'), "" if $cgi->param('error'); print < -
 END
 
 $crednum = "";
 print qq!Credit #!, $crednum ? $crednum : " (NEW)", qq!!;
 
-print qq!\nCustomer #$custnum!;
+print qq!
Customer #$custnum!; print qq!!; -print qq!\nDate: !, time2str("%D",$_date), qq!!; +print qq!
Date: !, time2str("%D",$_date), qq!!; -print qq!\nAmount \$!; +print qq!
Amount \$!; print qq!!; #print qq! Also post refund!; print qq!!; -print qq!\nReason !; +print qq!
Reason !; print <
-
+ END print <