X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_credit.cgi;h=803798ef838b88f3b3bae34be342c3d63c4d04b1;hb=6af1b1bfa25e5ececef5e0dcd38b55917121cee2;hp=3162265000cff0c59f70883671d88ec4ce494c73;hpb=22a35047ecdffff80110e06cc08fc84f9ddba9b0;p=freeside.git diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi index 316226500..803798ef8 100755 --- a/httemplate/edit/cust_credit.cgi +++ b/httemplate/edit/cust_credit.cgi @@ -1,6 +1,63 @@ -<% +<% 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!; +% + +% +%#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 ( { @@ -23,40 +80,5 @@ 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 - -%>