X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_refund.html;h=f19c61b1f19e34e3b5584fcd1db3433d0fcb5ae6;hb=fb8915cce4be9520c00cc53c659e34abfb6172e1;hp=40f6ab63019c5b378eec354134c3c5fb35201a8f;hpb=15a02054fe0f91eda70003b8d1cf29497d19aa91;p=freeside.git
diff --git a/httemplate/view/cust_refund.html b/httemplate/view/cust_refund.html
index 40f6ab630..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 (#$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 (#$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 |
- <% $cust_refund->payby_name %> #<% $cust_refund->paymask %> |
+ <% 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 @@