diff options
Diffstat (limited to 'httemplate/view')
| -rw-r--r-- | httemplate/view/cust_main/payment_history/refund.html | 1 | ||||
| -rw-r--r-- | httemplate/view/cust_refund.html | 2 |
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 ) { |
