summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorivan <ivan>2008-09-03 01:46:43 +0000
committerivan <ivan>2008-09-03 01:46:43 +0000
commit46a7257273fdae101658c8a1ee74f654ca0876b5 (patch)
tree16e5d2021a2cbc0d0fa2988bd767890013eed41e /httemplate/view
parent2e3742946113c9a4e52a4741c020ff5b129050e8 (diff)
add back ability to post a check/cash refund. be more explicit about it instead of just being a checkbox when posting a credit. RT#3812
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/cust_main/payment_history/refund.html1
-rw-r--r--httemplate/view/cust_refund.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/payment_history/refund.html b/httemplate/view/cust_main/payment_history/refund.html
index 5f9bca339..797882103 100644
--- a/httemplate/view/cust_main/payment_history/refund.html
+++ b/httemplate/view/cust_main/payment_history/refund.html
@@ -14,6 +14,7 @@ my $payinfo = $payby eq 'CARD'
: $cust_refund->payinfo;
$payby =~ s/^BILL$/Check #/ if $payinfo;
+$payby =~ s/^BILL$/Check/;
$payby =~ s/^CHEK$/Electronic check /;
$payby =~ s/^(CARD|COMP)$/$1 /;
diff --git a/httemplate/view/cust_refund.html b/httemplate/view/cust_refund.html
index 40f6ab630..557e0ab24 100644
--- a/httemplate/view/cust_refund.html
+++ b/httemplate/view/cust_refund.html
@@ -60,7 +60,7 @@
<TR>
<TD ALIGN="right">Refund method</TD>
- <TD BGCOLOR="#FFFFFF"><B><% $cust_refund->payby_name %> #<% $cust_refund->paymask %></B></TD>
+ <TD BGCOLOR="#FFFFFF"><B><% $cust_refund->payby_name %><% $cust_refund->paymask ? ' #'.$cust_refund->paymask : '' %></B></TD>
</TR>
% if ( $cust_refund->payby =~ /^(CARD|CHEK|LECB)$/ && $cust_refund->paybatch ) {