X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_credit.cgi;h=13d062c741f5fb5b3fbf80f464c1e0c07ddf4c2a;hb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;hp=aae0df2fc1e64ebe1f6aced384b412c735706fa8;hpb=2041a9143fac20b79ead4a1ae01224dedf5b27c2;p=freeside.git diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi index aae0df2fc..13d062c74 100755 --- a/httemplate/edit/cust_credit.cgi +++ b/httemplate/edit/cust_credit.cgi @@ -1,7 +1,60 @@ - -<% +<% include('/elements/header-popup.html', 'Enter Credit') %> +% if ( $cgi->param('error') ) { + Error: <% $cgi->param('error') %> +

+% } + +
+ + + + + + + +Credit +<% ntable("#cccccc", 2) %> + + + Date + <% time2str("%D",$_date) %> + + + + Amount + $ + + +% +%#print qq! Also post refund!; +% + + + Reason + + + + + Auto-apply
to invoices + + + + + +
+ +
+ +
+ + + +<%once> my $conf = new FS::Conf; + + +<%init> my($custnum, $amount, $reason); if ( $cgi->param('error') ) { #$cust_credit = new FS::cust_credit ( { @@ -24,40 +77,4 @@ my $_date = time; my $otaker = getotaker; my $p1 = popurl(1); - -print header("Post Credit", ''); -print qq!Error: !, $cgi->param('error'), - "" - if $cgi->param('error'); -print <config('countrydefault')); -
- - - - - - -END - -print '

Credit'. ntable("#cccccc", 2). - 'Date'. - time2str("%D",$_date). ''; - -print qq!Amount\$!; - -#print qq! Also post refund!; - -print qq!Reason!; - -print qq!Auto-apply
to invoices!; - -print < -
- - - - -END - -%> +