X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_credit.cgi;h=09300c62992426de9fb415be30beb2353a14ef7b;hp=d5e53b8f16bdb4ddc5fa014f23740ca463ea5647;hb=63973c641c4be00765fa27e55c57cc5b9aa4da19;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984 diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi index d5e53b8f1..09300c629 100755 --- a/httemplate/edit/cust_credit.cgi +++ b/httemplate/edit/cust_credit.cgi @@ -1,6 +1,6 @@ -<% include('/elements/header-popup.html', 'Enter Credit') %> +<& /elements/header-popup.html, mt('Enter Credit') &> -<% include('/elements/error.html') %> +<& /elements/error.html &>
@@ -8,53 +8,47 @@ - <% ntable("#cccccc", 2) %> - Date + <% mt('Date') |h %> <% time2str($date_format, $_date) %> - Amount + <% mt('Amount') |h %> $ -% -%#print qq! Also post refund!; -% - -<% include( '/elements/tr-select-reason.html', +<& /elements/tr-select-reason.html, 'field' => 'reasonnum', 'reason_class' => 'R', 'control_button' => "document.getElementById('confirm_credit_button')", 'cgi' => $cgi, - ) -%> +&> - Additional info + <% mt('Additional info') |h %> + % if ( $conf->exists('credits-auto-apply-disable') ) { % } else { - Auto-apply
to invoices - + <% mt('Auto-apply to invoices') |h %> + % } % if ( $conf->exists('pkg-balances') ) { - <% include('/elements/tr-select-cust_pkg-balances.html', + <& /elements/tr-select-cust_pkg-balances.html, 'custnum' => $custnum, 'cgi' => $cgi - ) - %> + &> % } else { % } @@ -63,7 +57,7 @@
-
+
@@ -79,7 +73,6 @@ die "access denied" my $custnum = $cgi->param('custnum'); my $amount = $cgi->param('amount'); my $_date = time; -my $otaker = getotaker; my $p1 = popurl(1);