X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_refund.html;h=f19c61b1f19e34e3b5584fcd1db3433d0fcb5ae6;hb=3d2e1d9b5d1883f768f5a90e0dfaae7cc9a41367;hp=138c8780d4a1d12fdde17c3d9802b69c89dafbd8;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git
diff --git a/httemplate/view/cust_refund.html b/httemplate/view/cust_refund.html
index 138c8780d..f19c61b1f 100644
--- a/httemplate/view/cust_refund.html
+++ b/httemplate/view/cust_refund.html
@@ -1,83 +1,82 @@
% if ( $link eq 'popup' ) {
- <% include('/elements/header-popup.html', "Refund Receipt" ) %>
+ <& /elements/header-popup.html, mt('Refund Receipt') &>
-
Print
+ <% mt('Print') |h %>
% } elsif ( $link eq 'print' ) {
- <% include('/elements/header-popup.html', "Refund Receipt" ) %>
+ <& /elements/header-popup.html, mt('Refund Receipt') &>
% #it would be nice if the menubar could be hidden for print, but better to
% # have it available than not, otherwise the user winds up at a dead end
<% menubar(
- "View this customer (#$display_custnum)" => "${p}view/cust_main.cgi?$custnum",
+ emt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
)
%>
% } else {
- <% include('/elements/header.html', "Refund Receipt", menubar(
- "View this customer (#$display_custnum)" => "${p}view/cust_main.cgi?$custnum",
- 'Print receipt' => $pr_link,
- ))
- %>
+ <& /elements/header.html, mt('Refund Receipt'), menubar(
+ emt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
+ emt('Print receipt') => $pr_link,
+ )
+ &>
% }
% unless ($link eq 'popup' ) {
- <% include('/elements/small_custview.html',
+ <& /elements/small_custview.html,
$custnum,
scalar($conf->config('countrydefault')),
1, #no balance
- )
- %>
+ &>
% }
<% ntable("#cccccc", 2) %>
- Refund# |
+ <% mt('Refund #') |h %> |
<% $cust_refund->refundnum %> |
- Date |
+ <% mt('Date') |h %> |
<% time2str"%a %b %o, %Y %r", $cust_refund->_date %> |
- Amount |
+ <% mt('Amount') |h %> |
<% $money_char. $cust_refund->refund %> |
- Reason |
+ <% mt('Reason') |h %> |
<% $cust_refund->reason %> |
- Refund method |
+ <% mt('Refund method') |h %> |
<% $cust_refund->payby_name %><% $cust_refund->paymask ? ' #'.$cust_refund->paymask : '' %> |
% if ( $cust_refund->payby =~ /^(CARD|CHEK|LECB)$/ && $cust_refund->paybatch ) {
- Processor |
+ <% mt('Processor') |h %> |
<% $cust_refund->processor %> |
- Authorization# |
+ <% mt('Authorization #') |h %> |
<% $cust_refund->authorization %> |
% if ( $cust_refund->order_number ) {
- Order# |
+ <% mt('Order #') |h %> |
<% $cust_refund->order_number %> |
% }
@@ -98,7 +97,7 @@