summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_credit.cgi
diff options
context:
space:
mode:
authorlevinse <levinse>2011-05-23 16:25:27 +0000
committerlevinse <levinse>2011-05-23 16:25:27 +0000
commitb5dbd9e1bcbb701a20ed23e723b1e0105fd7c1a1 (patch)
tree982841fb75a9997045f4a7f665a9f365f3bfde33 /httemplate/edit/cust_credit.cgi
parentd884f87c167fa00a24b2347c46606585b8420657 (diff)
internationalization/localization, RT12515
Diffstat (limited to 'httemplate/edit/cust_credit.cgi')
-rwxr-xr-xhttemplate/edit/cust_credit.cgi30
1 files changed, 12 insertions, 18 deletions
diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi
index d5e53b8f1..068144547 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, emt('Enter Credit') &>
-<% include('/elements/error.html') %>
+<& /elements/error.html &>
<FORM NAME="credit_popup" ACTION="<% $p1 %>process/cust_credit.cgi" METHOD=POST>
<INPUT TYPE="hidden" NAME="crednum" VALUE="">
@@ -13,29 +13,24 @@
<% ntable("#cccccc", 2) %>
<TR>
- <TD ALIGN="right">Date</TD>
+ <TD ALIGN="right"><% mt('Date') |h %></TD>
<TD BGCOLOR="#ffffff"><% time2str($date_format, $_date) %></TD>
</TR>
<TR>
- <TD ALIGN="right">Amount</TD>
+ <TD ALIGN="right"><% mt('Amount') |h %></TD>
<TD BGCOLOR="#ffffff">$<INPUT TYPE="text" NAME="amount" VALUE="<% $amount |h %>" SIZE=8 MAXLENGTH=9></TD>
</TR>
-%
-%#print qq! <INPUT TYPE="checkbox" NAME="refund" VALUE="$refund">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,
- )
-%>
+&>
<TR>
- <TD ALIGN="right">Additional info</TD>
+ <TD ALIGN="right"><% mt('Additional info') |h %></TD>
<TD>
<INPUT TYPE="text" NAME="addlinfo" VALUE="<% $cgi->param('addlinfo') |h %>">
</TD>
@@ -44,17 +39,16 @@
<INPUT TYPE="HIDDEN" NAME="apply" VALUE="no">
% } else {
<TR>
- <TD ALIGN="right">Auto-apply<BR>to invoices</TD>
- <TD><SELECT NAME="apply"><OPTION VALUE="yes" SELECTED>yes<OPTION>no</SELECT></TD>
+ <TD ALIGN="right"><% mt('Auto-apply to invoices') |h %></TD>
+ <TD><SELECT NAME="apply"><OPTION VALUE="yes" SELECTED><% mt('yes') |h %><OPTION><% mt('no') |h %></SELECT></TD>
</TR>
% }
% 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 {
<INPUT TYPE="hidden" NAME="pkgnum" VALUE="">
% }
@@ -63,7 +57,7 @@
<BR>
-<CENTER><INPUT TYPE="submit" ID="confirm_credit_button" VALUE="Enter credit" DISABLED></CENTER>
+<CENTER><INPUT TYPE="submit" ID="confirm_credit_button" VALUE="<% mt('Enter credit') |h %>" DISABLED></CENTER>
</FORM>
</BODY>