projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 82988 - Fixed so only formats that can handle electronic refunds can download...
[freeside.git]
/
httemplate
/
view
/
cust_main
/
payment_history
/
payment.html
diff --git
a/httemplate/view/cust_main/payment_history/payment.html
b/httemplate/view/cust_main/payment_history/payment.html
index
cc5789b
..
3fe588b
100644
(file)
--- a/
httemplate/view/cust_main/payment_history/payment.html
+++ b/
httemplate/view/cust_main/payment_history/payment.html
@@
-177,6
+177,7
@@
if ( $cust_pay->closed !~ /^Y/i
qq! TITLE="! . $refundtitle
. '">' . emt('refund') . '</A>)';
}
qq! TITLE="! . $refundtitle
. '">' . emt('refund') . '</A>)';
}
+$refund = '' if ($cust_pay->batchnum && !FS::pay_batch->can_handle_electronic_refunds);
my $void = '';
my $voidmsg = $cust_pay->payby =~ /^(CARD|CHEK)$/
my $void = '';
my $voidmsg = $cust_pay->payby =~ /^(CARD|CHEK)$/