From acc5c3aa84fddf8af378dc2a1b2e1bd0fd246e87 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 3 Sep 2008 01:47:16 +0000 Subject: 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 --- httemplate/view/cust_main/payment_history/refund.html | 1 + httemplate/view/cust_refund.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'httemplate/view') 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 @@ Refund method - <% $cust_refund->payby_name %> #<% $cust_refund->paymask %> + <% $cust_refund->payby_name %><% $cust_refund->paymask ? ' #'.$cust_refund->paymask : '' %> % if ( $cust_refund->payby =~ /^(CARD|CHEK|LECB)$/ && $cust_refund->paybatch ) { -- cgit v1.2.1